Re: [RESEND PATCH 09/10] ide-floppy: use test_bit wrappers for testing flags

From: Bartlomiej Zolnierkiewicz
Date: Sat Jan 05 2008 - 11:00:25 EST



There are two issues here:

* set_bit()/test_bit() are atomic operations and they don't see to be
necessary in case of ide-floppy.c (standard '|'/'&' should be enough)

* using wrappers for these operations is not a bad idea but doing it _now_
just makes it harder for us to figure out how to introduced common ATA
Packet command interface for all ATAPI device drivers (the other drivers
are using very similar flag handling and flag names currently)

so I would say that we should defer introducting these wrappers for now
(patch converting set_bit()/test_bit() to '|'/'&' would still be welcomed).

On Thursday 03 January 2008, Borislav Petkov wrote:
> also, fix header comments and remove superfluous ones. There should be no
> functionality change resulting from this patch.

fixes for comments look fine but they should be merged with the other
patch (the one containing checkpatch.pl/comments fixes)

Thanks,
Bart
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/