The patch titled Subject: cciss: use check_signature has been added to the -mm tree. Its filename is cciss-use-check_signature.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Akinobu Mita <akinobu.mita@xxxxxxxxx> Subject: cciss: use check_signature Use check_signature() to find a signature in the mmio address. Signed-off-by: Akinobu Mita <akinobu.mita@xxxxxxxxx> Cc: Mike Miller <mike.miller@xxxxxx> Cc: Jens Axboe <axboe@xxxxxxxxx> Cc: Stephen M. Cameron <scameron@xxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/block/cciss.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff -puN drivers/block/cciss.c~cciss-use-check_signature drivers/block/cciss.c --- a/drivers/block/cciss.c~cciss-use-check_signature +++ a/drivers/block/cciss.c @@ -42,8 +42,8 @@ #include <linux/compat.h> #include <linux/mutex.h> #include <linux/bitmap.h> +#include <linux/io.h> #include <asm/uaccess.h> -#include <asm/io.h> #include <linux/dma-mapping.h> #include <linux/blkdev.h> @@ -4267,10 +4267,7 @@ static void __devinit cciss_find_board_p static inline bool CISS_signature_present(ctlr_info_t *h) { - if ((readb(&h->cfgtable->Signature[0]) != 'C') || - (readb(&h->cfgtable->Signature[1]) != 'I') || - (readb(&h->cfgtable->Signature[2]) != 'S') || - (readb(&h->cfgtable->Signature[3]) != 'S')) { + if (!check_signature(h->cfgtable->Signature, "CISS", 4)) { dev_warn(&h->pdev->dev, "not a valid CISS config table\n"); return false; } _ Patches currently in -mm which might be from akinobu.mita@xxxxxxxxx are linux-next.patch ocfs2-use-find_last_bit.patch ocfs2-use-bitmap_weight.patch cciss-cleanup-bitops-usage.patch cciss-use-check_signature.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html