<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/base, branch v2.6.19</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.19</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.19'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2006-11-25T21:28:33Z</updated>
<entry>
<title>[PATCH] Fix device_attribute memory leak in device_del</title>
<updated>2006-11-25T21:28:33Z</updated>
<author>
<name>Catalin Marinas</name>
<email>catalin.marinas@gmail.com</email>
</author>
<published>2006-11-25T19:09:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=82189b9807e05ea8d1f69de5bf92eaf244a0eb12'/>
<id>urn:sha1:82189b9807e05ea8d1f69de5bf92eaf244a0eb12</id>
<content type='text'>
dev-&gt;devt_attr is allocated in device_add() but it is never freed in
device_del() in the drivers/base/core.c file (reported by kmemleak).

Signed-off-by: Catalin Marinas &lt;catalin.marinas@gmail.com&gt;
Acked-by: Greg KH &lt;greg@kroah.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] move SYS_HYPERVISOR inside the Generic Driver menu</title>
<updated>2006-10-28T18:30:55Z</updated>
<author>
<name>Randy Dunlap</name>
<email>randy.dunlap@oracle.com</email>
</author>
<published>2006-10-28T17:38:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=eba6cd671427df295c10b54ee69cd5de419d38fe'/>
<id>urn:sha1:eba6cd671427df295c10b54ee69cd5de419d38fe</id>
<content type='text'>
Put SYS_HYPERVISOR inside the Generic Driver Config menu where it should
be.  Otherwise xconfig displays it as a dangling (lost) menu item under
Device Drivers, all by itself (when all options are displayed).

Signed-off-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt;
Cc: &lt;holzheu@de.ibm.com&gt;
Cc: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
Cc: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] drivers: wait for threaded probes between initcall levels</title>
<updated>2006-10-27T22:34:51Z</updated>
<author>
<name>Andrew Morton</name>
<email>akpm@osdl.org</email>
</author>
<published>2006-10-27T18:42:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=735a7ffb739b6efeaeb1e720306ba308eaaeb20e'/>
<id>urn:sha1:735a7ffb739b6efeaeb1e720306ba308eaaeb20e</id>
<content type='text'>
The multithreaded-probing code has a problem: after one initcall level (eg,
core_initcall) has been processed, we will then start processing the next
level (postcore_initcall) while the kernel threads which are handling
core_initcall are still executing.  This breaks the guarantees which the
layered initcalls previously gave us.

IOW, we want to be multithreaded _within_ an initcall level, but not between
different levels.

Fix that up by causing the probing code to wait for all outstanding probes at
one level to complete before we start processing the next level.

Cc: Greg KH &lt;greg@kroah.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>driver core: kmalloc() failure check in driver_probe_device</title>
<updated>2006-10-18T19:49:56Z</updated>
<author>
<name>Akinobu Mita</name>
<email>akinobu.mita@gmail.com</email>
</author>
<published>2006-10-09T09:04:30Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4d664238207a82c4018757e2d87cf2a780462dcd'/>
<id>urn:sha1:4d664238207a82c4018757e2d87cf2a780462dcd</id>
<content type='text'>
driver_probe_device() is missing kmalloc() failure check.

Signed-off-by: Akinobu Mita &lt;akinobu.mita@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>Driver core: bus: remove indentation level</title>
<updated>2006-10-18T19:49:56Z</updated>
<author>
<name>Jeff Garzik</name>
<email>jeff@garzik.org</email>
</author>
<published>2006-10-04T11:48:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d9fd4d3b317a231e47f31d64d66c8cc7765d458f'/>
<id>urn:sha1:d9fd4d3b317a231e47f31d64d66c8cc7765d458f</id>
<content type='text'>
Before potentially fixing up these functions, this cosmetic change
reduces the indentation level to make the code easier to read and
maintain.

No functional changes at all.

Signed-off-by: Jeff Garzik &lt;jeff@garzik.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>Driver core: Don't ignore error returns from probing</title>
<updated>2006-10-18T19:49:55Z</updated>
<author>
<name>Alan Stern</name>
<email>stern@rowland.harvard.edu</email>
</author>
<published>2006-10-05T21:03:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f70fa6296c2ec8f541f0a9b406ccc2d9d127d639'/>
<id>urn:sha1:f70fa6296c2ec8f541f0a9b406ccc2d9d127d639</id>
<content type='text'>
This patch (as797) fixes device_add() in the driver core.  It needs to
pay attention when the driver for a new device reports an error.

At the same time, since bus_remove_device() undoes the effects of both
bus_add_device() and bus_attach_device(), it needs to check whether
the bus_attach_device step failed.

Signed-off-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>Driver core: Don't leak 'old_class_name' in drivers/base/core.c::device_rename()</title>
<updated>2006-10-18T19:49:55Z</updated>
<author>
<name>Jesper Juhl</name>
<email>jesper.juhl@gmail.com</email>
</author>
<published>2006-09-28T21:56:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=952ab431cd36c7ab573f685af8679c3677cbdc29'/>
<id>urn:sha1:952ab431cd36c7ab573f685af8679c3677cbdc29</id>
<content type='text'>
If kmalloc() fails to allocate space for 'old_symlink_name' in
drivers/base/core.c::device_rename(), then we'll leak 'old_class_name'.

Spotted by the Coverity checker.


Signed-off-by: Jesper Juhl &lt;jesper.juhl@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>driver core fixes: sysfs_create_group() retval in topology.c</title>
<updated>2006-10-18T19:49:55Z</updated>
<author>
<name>Cornelia Huck</name>
<email>cornelia.huck@de.ibm.com</email>
</author>
<published>2006-09-22T09:37:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=221c324a336770a911b16bda02b9f4adad506a35'/>
<id>urn:sha1:221c324a336770a911b16bda02b9f4adad506a35</id>
<content type='text'>
Return the return value of sysfs_create_group() in topology_add_dev().

Signed-off-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;


</content>
</entry>
<entry>
<title>driver core fixes: device_create_file() retval check in dmapool.c</title>
<updated>2006-10-18T19:49:55Z</updated>
<author>
<name>Cornelia Huck</name>
<email>cornelia.huck@de.ibm.com</email>
</author>
<published>2006-09-22T09:37:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=141ecc5320147d363d060cfc8042d197a3cdd496'/>
<id>urn:sha1:141ecc5320147d363d060cfc8042d197a3cdd496</id>
<content type='text'>
Check for device_create_file() return value in dma_pool_create().

Signed-off-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>driver core fixes: device_add() cleanup on error</title>
<updated>2006-10-18T19:49:55Z</updated>
<author>
<name>Cornelia Huck</name>
<email>cornelia.huck@de.ibm.com</email>
</author>
<published>2006-09-22T09:37:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a306eea40952e6365301e8a2f7d5ffa9c6a1921b'/>
<id>urn:sha1:a306eea40952e6365301e8a2f7d5ffa9c6a1921b</id>
<content type='text'>
Check for return code of device_create_file() and correct cleanup in
the error case in device_add().

Signed-off-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;


</content>
</entry>
</feed>
