<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/base, branch v2.6.27.25</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/base?h=v2.6.27.25</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/base?h=v2.6.27.25'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2008-11-07T03:05:37Z</updated>
<entry>
<title>sysfs: Fix return values for sysdev_store_{ulong, int}</title>
<updated>2008-11-07T03:05:37Z</updated>
<author>
<name>Andi Kleen</name>
<email>andi@firstfloor.org</email>
</author>
<published>2008-10-30T19:10:08Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ea6ac1ac96a384b213d65c28d9e3d62f74b0267e'/>
<id>urn:sha1:ea6ac1ac96a384b213d65c28d9e3d62f74b0267e</id>
<content type='text'>
commit 4e318d7c6c9dd5cdae48bcf61558bbc0c09b12ac upstream

SYSFS: Fix return values for sysdev_store_{ulong,int}

Always return the full size instead of the consumed
length of the string in sysdev_store_{ulong,int}

This avoids EINVAL errors in some echo versions.

Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>Driver core: Clarify device cleanup.</title>
<updated>2008-10-22T21:21:03Z</updated>
<author>
<name>Cornelia Huck</name>
<email>cornelia.huck@de.ibm.com</email>
</author>
<published>2008-10-16T22:05:07Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=02d4bc2c23cabd7930011b4d030807db2c6604a2'/>
<id>urn:sha1:02d4bc2c23cabd7930011b4d030807db2c6604a2</id>
<content type='text'>
commit 5739411acbaa63a6c22c91e340fdcdbcc7d82a51 upstream

Make the comments on how to use device_initialize(), device_add()
and device_register() a bit clearer - in particular, explicitly
note that put_device() must be used once we tried to add the device
to the hierarchy.

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: Fix cleanup in device_create_vargs().</title>
<updated>2008-10-22T21:21:01Z</updated>
<author>
<name>Cornelia Huck</name>
<email>cornelia.huck@de.ibm.com</email>
</author>
<published>2008-10-16T22:05:05Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c552cad06920b6dc20bb0b41bbb37b60f194e46a'/>
<id>urn:sha1:c552cad06920b6dc20bb0b41bbb37b60f194e46a</id>
<content type='text'>
commit 286661b3777897220ecfcd774bccc68a34667f39 upstream

If device_register() in device_create_vargs() fails, the device
must be cleaned up with put_device() (which is also fine on NULL)
instead of kfree().

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>PM: Remove WARN_ON from device_pm_add</title>
<updated>2008-08-21T17:15:37Z</updated>
<author>
<name>Rafael J. Wysocki</name>
<email>rjw@sisk.pl</email>
</author>
<published>2008-08-08T23:05:13Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f5a6d958b5d0a10e7e7a9dee1862fb31d08c6d26'/>
<id>urn:sha1:f5a6d958b5d0a10e7e7a9dee1862fb31d08c6d26</id>
<content type='text'>
PM: Remove WARN_ON from device_pm_add

Fix message in device_pm_add() saying that the device will not be
added to dpm_list, although in fact the device is going to be added
to the list regardless of the ordering violation.

Remove the WARN_ON(true) triggered in that situation, because it is
hit by USB very often and spams the users' logs.

This patch fixes bug #11263

Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>driver core: add init_name to struct device</title>
<updated>2008-08-21T17:15:37Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2008-05-30T17:45:12Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c906a48adc74fc455378137ac5124b13e7030a15'/>
<id>urn:sha1:c906a48adc74fc455378137ac5124b13e7030a15</id>
<content type='text'>
This gives us a way to handle both the bus_id and init_name values being
used for a while during the transition period.

Cc: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>PM: don't skip device PM init when CONFIG_PM_SLEEP isn't set and CONFIG_PM is set</title>
<updated>2008-08-21T17:15:36Z</updated>
<author>
<name>Alan Stern</name>
<email>stern@rowland.harvard.edu</email>
</author>
<published>2008-08-07T17:06:12Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3b98aeaf3a75f544dc945694f4fcf6e1c4bab89d'/>
<id>urn:sha1:3b98aeaf3a75f544dc945694f4fcf6e1c4bab89d</id>
<content type='text'>
This patch (as1124) fixes a couple of bugs in the PM core.  The new
dev-&gt;power.status field should be initialized regardless of whether
CONFIG_PM_SLEEP is enabled, and similarly dpm_sysfs_add() should be
called whenever CONFIG_PM is enabled.

The patch separates out the call to dpm_sysfs_add() from the call to
device_pm_add().  As a result device_pm_add() can no longer return an
error, so its return type is changed to void.

Signed-off-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Tested-by: Romit Dasgupta &lt;romit@ti.com&gt;
Acked-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>driver model: anti-oopsing medicine</title>
<updated>2008-08-21T17:15:36Z</updated>
<author>
<name>David Brownell</name>
<email>dbrownell@users.sourceforge.net</email>
</author>
<published>2008-08-07T01:52:44Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7c2250352e11bf956c4cfa20b01ae6ba72882788'/>
<id>urn:sha1:7c2250352e11bf956c4cfa20b01ae6ba72882788</id>
<content type='text'>
Anti-oops medicine for the class iterators ... the oops was
observed when a class was implicitly referenced before it
was initialized.

[Modified by Greg to spit a warning back so someone knows to fix their code]

Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>dev_printk(): constify the `dev' argument</title>
<updated>2008-08-21T17:15:36Z</updated>
<author>
<name>Jean Delvare</name>
<email>khali@linux-fr.org</email>
</author>
<published>2008-07-30T19:29:21Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=bf9ca69fc8d19d4034391d3df4c35dccdef9d28c'/>
<id>urn:sha1:bf9ca69fc8d19d4034391d3df4c35dccdef9d28c</id>
<content type='text'>
Add const markings to dev_name and dev_driver_string to make it clear that
dev_printk doesn't modify dev.  This is a prerequisite to adding more
const markings to other functions make it clearer, which functions can
modify dev and which can't.

Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
Cc: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>drivers/base/driver.c: remove unused to_dev() macro</title>
<updated>2008-08-21T17:15:35Z</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2008-07-30T19:29:20Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=26d02d1db7d84729b1e49789341e69a493c60ceb'/>
<id>urn:sha1:26d02d1db7d84729b1e49789341e69a493c60ceb</id>
<content type='text'>
Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>Merge branch 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip</title>
<updated>2008-08-01T18:52:39Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2008-08-01T18:52:39Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5adf2b03d97111c8955495ba11e8b7db27df8695'/>
<id>urn:sha1:5adf2b03d97111c8955495ba11e8b7db27df8695</id>
<content type='text'>
* 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
  locking: fix mutex @key parameter kernel-doc notation
</content>
</entry>
</feed>
