git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
drivers
/
scsi
/
sym53c8xx_2
/
sym_hipd.h
diff --git
a/drivers/scsi/sym53c8xx_2/sym_hipd.h
b/drivers/scsi/sym53c8xx_2/sym_hipd.h
index
1e136a2
..
aa246dd
100644
(file)
--- a/
drivers/scsi/sym53c8xx_2/sym_hipd.h
+++ b/
drivers/scsi/sym53c8xx_2/sym_hipd.h
@@
-613,10
+613,10
@@
struct sym_pmc {
* LUN(s) > 0.
*/
#if SYM_CONF_MAX_LUN <= 1
* LUN(s) > 0.
*/
#if SYM_CONF_MAX_LUN <= 1
-#define sym_lp(np, tp, lun) (!lun) ? (tp)->lun0p :
0
+#define sym_lp(np, tp, lun) (!lun) ? (tp)->lun0p :
NULL
#else
#define sym_lp(np, tp, lun) \
#else
#define sym_lp(np, tp, lun) \
- (!lun) ? (tp)->lun0p : (tp)->lunmp ? (tp)->lunmp[(lun)] :
0
+ (!lun) ? (tp)->lun0p : (tp)->lunmp ? (tp)->lunmp[(lun)] :
NULL
#endif
/*
#endif
/*