Messages in this thread Patch in this message | | | Date | Mon, 13 Oct 2003 12:34:52 -0400 (EDT) | From | Rik van Riel <> | Subject | [PATCH][TRIVIAL] silence warning in reiserfs_ioctl |
| |
Gcc is afraid we might fall off the end of the function without returning.
diff -urNp linux-5110/fs/reiserfs/ioctl.c linux-10010/fs/reiserfs/ioctl.c --- linux-5110/fs/reiserfs/ioctl.c +++ linux-10010/fs/reiserfs/ioctl.c @@ -84,6 +84,7 @@ int reiserfs_ioctl (struct inode * inode default: return -ENOTTY; } + return 0; }
/* - 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/
| |