<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/staging/quickstart/quickstart.c, branch v3.12.10</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/staging/quickstart/quickstart.c?h=v3.12.10</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/staging/quickstart/quickstart.c?h=v3.12.10'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2013-08-24T17:34:53Z</updated>
<entry>
<title>staging: quickstart: fix up sysfs file permissions</title>
<updated>2013-08-24T17:34:53Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2013-08-24T17:34:53Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3b7cf04f873d3317bdfeedb6c83396abd16f0955'/>
<id>urn:sha1:3b7cf04f873d3317bdfeedb6c83396abd16f0955</id>
<content type='text'>
Use the default DEVICE_ATTR_RO/RW macros to specify the file permissions
better, and make them easier to audit.

And did we really want any user to be able to write to this file, I kind
of doubt it...

Cc: Jiang Liu &lt;jiang.liu@huawei.com&gt;
Cc: Toshi Kani &lt;toshi.kani@hp.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>ACPI: Remove useless type argument of driver .remove() operation</title>
<updated>2013-01-25T23:37:24Z</updated>
<author>
<name>Rafael J. Wysocki</name>
<email>rafael.j.wysocki@intel.com</email>
</author>
<published>2013-01-23T23:24:48Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=51fac8388a0325a43f0ae67453ece2c373e2ec28'/>
<id>urn:sha1:51fac8388a0325a43f0ae67453ece2c373e2ec28</id>
<content type='text'>
The second argument of ACPI driver .remove() operation is only used
by the ACPI processor driver and the value passed to that driver
through it is always available from the given struct acpi_device
object's removal_type field.  For this reason, the second ACPI driver
.remove() argument is in fact useless, so drop it.

Signed-off-by: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
Reviewed-by: Jiang Liu &lt;jiang.liu@huawei.com&gt;
Acked-by: Toshi Kani &lt;toshi.kani@hp.com&gt;
Acked-by: Yinghai Lu &lt;yinghai@kernel.org&gt;
</content>
</entry>
<entry>
<title>Staging: quickstart: Fix compilation warning on 64 bit arch</title>
<updated>2012-02-14T04:08:56Z</updated>
<author>
<name>Szymon Janc</name>
<email>szymon@janc.net.pl</email>
</author>
<published>2012-02-10T20:05:43Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5f01f7f301db567a7a2b99d012db1c408ce0e9de'/>
<id>urn:sha1:5f01f7f301db567a7a2b99d012db1c408ce0e9de</id>
<content type='text'>
acpi_size is u32 or u64 depending on architecture. Cast it to
unsigned long and use %lu for printing.

This fix following build warning:
drivers/staging/quickstart/quickstart.c: In function ‘quickstart_acpi_ghid’:
drivers/staging/quickstart/quickstart.c:212:5: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘acpi_size’ [-Wformat]

Signed-off-by: Szymon Janc &lt;szymon@janc.net.pl&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: quickstart: Bump driver version to 1.04</title>
<updated>2012-02-14T04:08:55Z</updated>
<author>
<name>Szymon Janc</name>
<email>szymon@janc.net.pl</email>
</author>
<published>2012-02-10T20:05:44Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=af5728e08afab1baeb97cc881e2d6158c69bae19'/>
<id>urn:sha1:af5728e08afab1baeb97cc881e2d6158c69bae19</id>
<content type='text'>
Signed-off-by: Szymon Janc &lt;szymon@janc.net.pl&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: quickstart: Use scnprintf in quickstart_pressed_button_show</title>
<updated>2012-02-14T04:08:55Z</updated>
<author>
<name>Szymon Janc</name>
<email>szymon@janc.net.pl</email>
</author>
<published>2012-02-10T20:05:42Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e66912af2c205518b638321d466f6dcddba70e3a'/>
<id>urn:sha1:e66912af2c205518b638321d466f6dcddba70e3a</id>
<content type='text'>
Use scnprintf instead of snprintf in quickstart_pressed_button_show as
suggested in Documentation/filesystems/sysfs.txt.

Signed-off-by: Szymon Janc &lt;szymon@janc.net.pl&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: quickstart: Use pr_err and pr_info for logs</title>
<updated>2012-02-09T17:41:33Z</updated>
<author>
<name>Szymon Janc</name>
<email>szymon@janc.net.pl</email>
</author>
<published>2012-01-22T18:50:13Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=74eabe4ca2f6cf0e7e60e73017206e963f6b170a'/>
<id>urn:sha1:74eabe4ca2f6cf0e7e60e73017206e963f6b170a</id>
<content type='text'>
Signed-off-by: Szymon Janc &lt;szymon@janc.net.pl&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: quickstart: Rename quickstart_btn to quickstart_button</title>
<updated>2012-02-09T01:16:51Z</updated>
<author>
<name>Szymon Janc</name>
<email>szymon@janc.net.pl</email>
</author>
<published>2012-01-11T22:22:49Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3c92e38dc4d803a7f90a08277a9d59f920963e0c'/>
<id>urn:sha1:3c92e38dc4d803a7f90a08277a9d59f920963e0c</id>
<content type='text'>
Signed-off-by: Szymon Janc &lt;szymon@janc.net.pl&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: quickstart: Use %u for printing button id</title>
<updated>2012-02-09T01:16:50Z</updated>
<author>
<name>Szymon Janc</name>
<email>szymon@janc.net.pl</email>
</author>
<published>2012-01-11T22:22:48Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=21c1ddf31415f5db34975760e847bf6033b4f9db'/>
<id>urn:sha1:21c1ddf31415f5db34975760e847bf6033b4f9db</id>
<content type='text'>
Button id is of unsigned int type.

Signed-off-by: Szymon Janc &lt;szymon@janc.net.pl&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: quickstart: Use list.h API for buttons list</title>
<updated>2012-02-09T01:16:50Z</updated>
<author>
<name>Szymon Janc</name>
<email>szymon@janc.net.pl</email>
</author>
<published>2012-01-11T22:22:47Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=505d2ad2277950ee67e8ed4a12a349f18925c0f4'/>
<id>urn:sha1:505d2ad2277950ee67e8ed4a12a349f18925c0f4</id>
<content type='text'>
Signed-off-by: Szymon Janc &lt;szymon@janc.net.pl&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Staging: quickstart: Get rid of quickstart_data struct</title>
<updated>2012-02-09T01:16:50Z</updated>
<author>
<name>Szymon Janc</name>
<email>szymon@janc.net.pl</email>
</author>
<published>2012-01-11T22:22:46Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3991eae9437b14454881b64ba5627c3aef9a1ba5'/>
<id>urn:sha1:3991eae9437b14454881b64ba5627c3aef9a1ba5</id>
<content type='text'>
Signed-off-by: Szymon Janc &lt;szymon@janc.net.pl&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
