<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/drivers/block/floppy.c, branch linux-2.6.35.y</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=linux-2.6.35.y</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=linux-2.6.35.y'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2010-03-12T23:52:31+00:00</updated>
<entry>
<title>drivers/block/floppy.c: remove unnecessary casting in fd_ioctl</title>
<updated>2010-03-12T23:52:31+00:00</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2010-03-10T23:21:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=724ee626f38feaea215a11790e1a0cb5d83b0628'/>
<id>urn:sha1:724ee626f38feaea215a11790e1a0cb5d83b0628</id>
<content type='text'>
Convert outparam to const void *.
Cast outparam to const char * for strlen().

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Cc: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Cc: Jens Axboe &lt;jens.axboe@oracle.com&gt;
Cc: Marcin Slusarz &lt;marcin.slusarz@gmail.com&gt;
Cc: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>drivers/block/floppy.c: remove misleading, used once FD_IOCTL_ALLOWED macro</title>
<updated>2010-03-12T23:52:31+00:00</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2010-03-10T23:21:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=0aad92cfea6fec14bd57dd9c283cc6eb023c97bd'/>
<id>urn:sha1:0aad92cfea6fec14bd57dd9c283cc6eb023c97bd</id>
<content type='text'>
Just code the test directly

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Cc: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Cc: Jens Axboe &lt;jens.axboe@oracle.com&gt;
Cc: Marcin Slusarz &lt;marcin.slusarz@gmail.com&gt;
Cc: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>drivers/block/floppy.c: remove obfuscating CODE2SIZE macro</title>
<updated>2010-03-12T23:52:31+00:00</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2010-03-10T23:21:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=712e1de43ed572886d6913a86eee5e73b7de4318'/>
<id>urn:sha1:712e1de43ed572886d6913a86eee5e73b7de4318</id>
<content type='text'>
Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Cc: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Cc: Jens Axboe &lt;jens.axboe@oracle.com&gt;
Cc: Marcin Slusarz &lt;marcin.slusarz@gmail.com&gt;
Cc: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>drivers/block/floppy.c: add __func__ to debugt</title>
<updated>2010-03-12T23:52:31+00:00</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2010-03-10T23:21:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=ded2863d09208b27baa4a6ad95bb7e5539e48c05'/>
<id>urn:sha1:ded2863d09208b27baa4a6ad95bb7e5539e48c05</id>
<content type='text'>
Make debugt messages a little neater.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Cc: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Cc: Jens Axboe &lt;jens.axboe@oracle.com&gt;
Cc: Marcin Slusarz &lt;marcin.slusarz@gmail.com&gt;
Cc: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>drivers/block/floppy.c: convert raw_cmd_copyin from while(1) to label: goto</title>
<updated>2010-03-12T23:52:31+00:00</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2010-03-10T23:21:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=7f2527174ab1ee7f4550c91be47b3f843ff1316d'/>
<id>urn:sha1:7f2527174ab1ee7f4550c91be47b3f843ff1316d</id>
<content type='text'>
Reduces indent.
Makes a bit more readable and intelligible.
Return value now at bottom of function.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Cc: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Cc: Jens Axboe &lt;jens.axboe@oracle.com&gt;
Cc: Marcin Slusarz &lt;marcin.slusarz@gmail.com&gt;
Cc: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>drivers/block/floppy.c: remove some unnecessary casting</title>
<updated>2010-03-12T23:52:31+00:00</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2010-03-10T23:21:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=ce2f11fe784f7999b82c7a71cdbcb86ad2653def'/>
<id>urn:sha1:ce2f11fe784f7999b82c7a71cdbcb86ad2653def</id>
<content type='text'>
Remove char/void __user * use.
Remove kmalloc cast.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Cc: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Cc: Jens Axboe &lt;jens.axboe@oracle.com&gt;
Cc: Marcin Slusarz &lt;marcin.slusarz@gmail.com&gt;
Cc: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>drivers/block/floppy.c: use %pf in logging messages</title>
<updated>2010-03-12T23:52:31+00:00</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2010-03-10T23:21:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=1ebddd85a6a6ad793eca82d65fba4573d0e28042'/>
<id>urn:sha1:1ebddd85a6a6ad793eca82d65fba4573d0e28042</id>
<content type='text'>
Print the function name not the pointer address where useful and possible

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Cc: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Cc: Jens Axboe &lt;jens.axboe@oracle.com&gt;
Cc: Marcin Slusarz &lt;marcin.slusarz@gmail.com&gt;
Cc: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>drivers/block/floppy.c: use __func__ where appropriate</title>
<updated>2010-03-12T23:52:31+00:00</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2010-03-10T23:21:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=275176bc2a7bbd5c4446ba12b8f4353a69012053'/>
<id>urn:sha1:275176bc2a7bbd5c4446ba12b8f4353a69012053</id>
<content type='text'>
Add and use __func__ to is_alive.
Use __func__ in some DPRINTs.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Cc: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Cc: Jens Axboe &lt;jens.axboe@oracle.com&gt;
Cc: Marcin Slusarz &lt;marcin.slusarz@gmail.com&gt;
Cc: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>drivers/block/floppy.c: DPRINT neatening</title>
<updated>2010-03-12T23:52:31+00:00</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2010-03-10T23:21:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=891eda80a5227a12956d7997baf9f4b54a9aa4f9'/>
<id>urn:sha1:891eda80a5227a12956d7997baf9f4b54a9aa4f9</id>
<content type='text'>
Move DPRINT macro definition above 1st use Consolidate a format string
(&gt;80 columns) Add a newline to an unterminated message Comment neatened

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Cc: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Cc: Jens Axboe &lt;jens.axboe@oracle.com&gt;
Cc: Marcin Slusarz &lt;marcin.slusarz@gmail.com&gt;
Cc: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>drivers/block/floppy.c: remove #define FLOPPY_SANITY_CHECK</title>
<updated>2010-03-12T23:52:31+00:00</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2010-03-10T23:21:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=1a23d133359eec2297ff4c72c260ccacb156d883'/>
<id>urn:sha1:1a23d133359eec2297ff4c72c260ccacb156d883</id>
<content type='text'>
The code could not be compiled without the #define, so just remove it and
the #ifdef/#endif lines.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Cc: Stephen Hemminger &lt;shemminger@vyatta.com&gt;
Cc: Jens Axboe &lt;jens.axboe@oracle.com&gt;
Cc: Marcin Slusarz &lt;marcin.slusarz@gmail.com&gt;
Cc: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
