All of lore.kernel.org
 help / color / mirror / Atom feed
* FW: [Bug 40302] spi master's parent device node 's reference count is not decreased
@ 2011-08-27  1:15 Xu, Chao
  0 siblings, 0 replies; only message in thread
From: Xu, Chao @ 2011-08-27  1:15 UTC (permalink / raw)
  To: dbrownell-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f,
	grant.likely-s3s/WqlpOiPyB63q8FvJNQ
  Cc: Xu, Chao, spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b

[-- Attachment #1: Type: text/plain, Size: 1778 bytes --]


There are two bugs in driver/spi/spic.

(1) when spi master is deconstructed, it's parent device node's reference count
is not decreased. It exists from kernel 2.6.28 to 3.0. It sometimes results in
memory leak. Example, its's parent device node will be always reference by
others and never be released.

(2) when spi device is created, its parent device node should be spi master. It
should be keep consistent with function spi_unregister_master. it exists in
2.6.39 and 3.0


B. R.
Chao Xu
Digital Home Group
Intel Corporation
Tel:   86-21-6116-7386
Inet:  8821-7386

-----Original Message-----
From: bugzilla-daemon@bugzilla.kernel.org [mailto:bugzilla-daemon@bugzilla.kernel.org] 
Sent: Saturday, August 27, 2011 7:20 AM
To: Xu, Chao
Subject: [Bug 40302] spi master's parent device node 's reference count is not decreased

https://bugzilla.kernel.org/show_bug.cgi?id=40302


Andrew Morton <akpm@linux-foundation.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |akpm@linux-foundation.org




--- Comment #1 from Andrew Morton <akpm@linux-foundation.org>  2011-08-26 23:20:17 ---
Please don't send patches via bugzilla - it causes lots of problems with
our usual patch management and review processes.

Please send this patch via email as per Documentation/SubmittingPatches. 
Suitable recipients may be found via scripts/get_maintainer.pl.  Please
also cc myself on the email.

Thanks.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You reported the bug.

[-- Attachment #2: Type: text/plain, Size: 319 bytes --]

------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev

[-- Attachment #3: Type: text/plain, Size: 210 bytes --]

_______________________________________________
spi-devel-general mailing list
spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/spi-devel-general

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-08-27  1:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-27  1:15 FW: [Bug 40302] spi master's parent device node 's reference count is not decreased Xu, Chao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.