projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9cd594
)
IB/srp: Use SCAN_WILD_CARD from SCSI headers
author
Matthew Wilcox
<matthew@wil.cx>
Sun, 18 Jun 2006 03:37:30 +0000
(20:37 -0700)
committer
Roland Dreier
<rolandd@cisco.com>
Sun, 18 Jun 2006 03:37:30 +0000
(20:37 -0700)
SCAN_WILD_CARD is indeed available from <scsi/scsi.h>, which is
already included. So get rid of private hack.
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/srp/ib_srp.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/infiniband/ulp/srp/ib_srp.c
b/drivers/infiniband/ulp/srp/ib_srp.c
index 9c373139ee635938e742b01c640c821731c8a801..28d741e7805cb6d154046c28e9cb257c33d42ad5 100644
(file)
--- a/
drivers/infiniband/ulp/srp/ib_srp.c
+++ b/
drivers/infiniband/ulp/srp/ib_srp.c
@@
-1456,9
+1456,8
@@
static int srp_add_target(struct srp_host *host, struct srp_target_port *target)
target->state = SRP_TARGET_LIVE;
- /* XXX: are we supposed to have a definition of SCAN_WILD_CARD ?? */
scsi_scan_target(&target->scsi_host->shost_gendev,
- 0, target->scsi_id,
~0
, 0);
+ 0, target->scsi_id,
SCAN_WILD_CARD
, 0);
return 0;
}