projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
target: Fix double test of inquiry_prod
[deliverable/linux.git]
/
drivers
/
target
/
target_core_transport.c
diff --git
a/drivers/target/target_core_transport.c
b/drivers/target/target_core_transport.c
index e4406c9e66e0ea884870cb160a8c611ff05fed70..6f5d4dfa14e89f315f523dce0505d19ad1bb9690 100644
(file)
--- a/
drivers/target/target_core_transport.c
+++ b/
drivers/target/target_core_transport.c
@@
-1623,7
+1623,7
@@
struct se_device *transport_add_device_to_core_hba(
* setup.
*/
if (dev->transport->transport_type != TRANSPORT_PLUGIN_PHBA_PDEV) {
- if (!
(inquiry_prod) || !(inquiry_prod)
) {
+ if (!
inquiry_prod || !inquiry_rev
) {
printk(KERN_ERR "All non TCM/pSCSI plugins require"
" INQUIRY consts\n");
goto out;
This page took
0.025982 seconds
and
5
git commands to generate.