<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/platform/x86/amilo-rfkill.c, branch linux-3.4.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.4.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.4.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-03-26T19:45:32Z</updated>
<entry>
<title>drivers/platform/x86/amilo-rfkill.c::amilo_rfkill_probe() avoid NULL deref</title>
<updated>2012-03-26T19:45:32Z</updated>
<author>
<name>Jesper Juhl</name>
</author>
<published>2012-03-23T00:08:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=41603e9783a24c8c7cce548c0819bdc9e46a585b'/>
<id>urn:sha1:41603e9783a24c8c7cce548c0819bdc9e46a585b</id>
<content type='text'>
In drivers/platform/x86/amilo-rfkill.c::amilo_rfkill_probe() the call
to dmi_first_match() may fail and return NULL. If it does return NULL,
then we'll be dereferencing a NULL pointer in the rfkill_alloc() call
where we do 'system_id-&gt;driver_data' --&gt; KABOOM!

Avoid that problem by testing for a NULL return value from
dmi_first_match() and bailing out if it fails.

I was a bit uncertain about what to return in the failure case. In the
end I settled for -ENXIO as the most logical error to return.

Signed-off-by: Jesper Juhl &lt;jj@chaosbits.net&gt;
Signed-off-by: Matthew Garrett &lt;mjg@redhat.com&gt;
</content>
</entry>
<entry>
<title>x86: Add amilo-rfkill driver for some Fujitsu-Siemens Amilo laptops</title>
<updated>2012-03-12T13:56:47Z</updated>
<author>
<name>Ben Hutchings</name>
</author>
<published>2011-11-25T04:09:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c215ab9a7530d415707430de8d51a58ca6a41808'/>
<id>urn:sha1:c215ab9a7530d415707430de8d51a58ca6a41808</id>
<content type='text'>
An rfkill driver based on the fsaa1655g and fsam7440 drivers for
Fujitsu-Siemens Amilo A1655 and M7440 models found at:

http://sourceforge.net/projects/fsaa1655g/
http://sourceforge.net/projects/fsam7440/

This adds DMI matching, replaces the procfs files with rfkill devices,
and uses the proper functions to write to the i8042 safely.

Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Signed-off-by: Matthew Garrett &lt;mjg@redhat.com&gt;
</content>
</entry>
</feed>
