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: [email protected]
[mailto:[email protected]]
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 <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #1 from Andrew Morton <[email protected]> 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.
------------------------------------------------------------------------------
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
_______________________________________________
spi-devel-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spi-devel-general