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
cxlflash: Fix to avoid sizeof(bool)
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
scsi
/
cxlflash
/
superpipe.c
diff --git
a/drivers/scsi/cxlflash/superpipe.c
b/drivers/scsi/cxlflash/superpipe.c
index 8ea018b41b4de901040be89d93dde7a4b1890cce..c75f3ef6a7fa4d5a9575c459d6661c4a6ea451a3 100644
(file)
--- a/
drivers/scsi/cxlflash/superpipe.c
+++ b/
drivers/scsi/cxlflash/superpipe.c
@@
-737,7
+737,7
@@
static struct ctx_info *create_context(struct cxlflash_cfg *cfg,
struct afu *afu = cfg->afu;
struct ctx_info *ctxi = NULL;
struct llun_info **lli = NULL;
-
bool
*ws = NULL;
+
u8
*ws = NULL;
struct sisl_rht_entry *rhte;
ctxi = kzalloc(sizeof(*ctxi), GFP_KERNEL);