diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2007-02-20 16:58:05 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-20 20:10:14 -0500 |
commit | 0cba01db647fa87d14aeccac5267aebfeb2fc1d2 (patch) | |
tree | 6fe6d9f294a40c75b856662436c4c20cc64550b1 | |
parent | 23cac8debcdb34e97c01350b55ddf65161997a06 (diff) |
[PATCH] cdrom: use unsigned bitfields
Fix 23 of these sparse warnings on x86_64 allmodconfig:
include/linux/cdrom.h:942:19: error: dubious bitfield without explicit
`signed' or `unsigned'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Jens Axboe <axboe@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | include/linux/cdrom.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/cdrom.h b/include/linux/cdrom.h index bbbe7b4da0bb..f50f04bdbc16 100644 --- a/include/linux/cdrom.h +++ b/include/linux/cdrom.h | |||
@@ -939,7 +939,7 @@ struct cdrom_device_info { | |||
939 | int speed; /* maximum speed for reading data */ | 939 | int speed; /* maximum speed for reading data */ |
940 | int capacity; /* number of discs in jukebox */ | 940 | int capacity; /* number of discs in jukebox */ |
941 | /* device-related storage */ | 941 | /* device-related storage */ |
942 | int options : 30; /* options flags */ | 942 | unsigned int options : 30; /* options flags */ |
943 | unsigned mc_flags : 2; /* media change buffer flags */ | 943 | unsigned mc_flags : 2; /* media change buffer flags */ |
944 | int use_count; /* number of times device opened */ | 944 | int use_count; /* number of times device opened */ |
945 | char name[20]; /* name of the device type */ | 945 | char name[20]; /* name of the device type */ |