Messages in this thread Patch in this message | | | Date | Mon, 13 Oct 2003 10:06:42 -0400 (EDT) | From | Rik van Riel <> | Subject | [PATCH][TRIVIAL] clean up DAC960 case statement |
| |
The compiler is a lot happier if the case statement has a default.
diff -urNp linux-5110/drivers/block/DAC960.c linux-10010/drivers/block/DAC960.c --- linux-5110/drivers/block/DAC960.c +++ linux-10010/drivers/block/DAC960.c @@ -5491,11 +5491,7 @@ static int DAC960_IOCTL(Inode_T *Inode, .part[MINOR(Inode->i_rdev)] .nr_sects << 9, (u64 *) Argument); - case BLKRAGET: - case BLKRASET: - case BLKFLSBUF: - case BLKBSZGET: - case BLKBSZSET: + default: return blk_ioctl(Inode->i_rdev, Request, Argument); case BLKRRPART: /* Re-Read Partition Table. */ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |