projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e44f34
)
cdrom: replace hard-coded constants by kernel.h macro.
author
Robert P. J. Day
<
[email protected]
>
Mon, 16 Jul 2007 06:41:19 +0000
(23:41 -0700)
committer
Linus Torvalds
<
[email protected]
>
Mon, 16 Jul 2007 16:05:48 +0000
(09:05 -0700)
Signed-off-by: Robert P. J. Day <
[email protected]
>
Cc: Jens Axboe <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
include/linux/cdrom.h
patch
|
blob
|
history
diff --git
a/include/linux/cdrom.h
b/include/linux/cdrom.h
index f50f04bdbc166ab1df21c60ef67760aaae942236..2b641b176e7f2c51708d0d99b91f5daf41be2549 100644
(file)
--- a/
include/linux/cdrom.h
+++ b/
include/linux/cdrom.h
@@
-414,8
+414,8
@@
struct cdrom_generic_command
#define CDO_CHECK_TYPE 0x10 /* check type on open for data */
/* Special codes used when specifying changer slots. */
-#define CDSL_NONE (
(int) (~0U>>1)
-1)
-#define CDSL_CURRENT
((int) (~0U>>1))
+#define CDSL_NONE (
INT_MAX
-1)
+#define CDSL_CURRENT
INT_MAX
/* For partition based multisession access. IDE can handle 64 partitions
* per drive - SCSI CD-ROM's use minors to differentiate between the