projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mmc: host: omap_hsmmc: Fix MMC for omap3 legacy booting
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
target
/
target_core_hba.c
diff --git
a/drivers/target/target_core_hba.c
b/drivers/target/target_core_hba.c
index be9cefc07407e80ef5dd7dfcbd8a0d025faf97f6..22390e0e046ca266c2173ab50abf695f0cc2aaa2 100644
(file)
--- a/
drivers/target/target_core_hba.c
+++ b/
drivers/target/target_core_hba.c
@@
-184,3
+184,8
@@
core_delete_hba(struct se_hba *hba)
kfree(hba);
return 0;
}
kfree(hba);
return 0;
}
+
+bool target_sense_desc_format(struct se_device *dev)
+{
+ return (dev) ? dev->transport->get_blocks(dev) > U32_MAX : false;
+}