Commit 0349be31 authored by Bart Van Assche's avatar Bart Van Assche Committed by Martin K. Petersen

scsi: bfa: Use the proper data type for BLIST flags

Fix the following sparse warning:

drivers/scsi/bfa/bfad_bsg.c:2553:50: sparse: sparse: incorrect type in initializer (different base types)

Fixes: 2e5a6c3b ("scsi: bfa: Convert bfad_reset_sdev_bflags() from a macro into a function")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202311031255.lmSPisIk-lkp@intel.com/Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20231115193338.2261972-1-bvanassche@acm.orgSigned-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 045da307
...@@ -2550,7 +2550,7 @@ bfad_iocmd_vf_clr_stats(struct bfad_s *bfad, void *cmd) ...@@ -2550,7 +2550,7 @@ bfad_iocmd_vf_clr_stats(struct bfad_s *bfad, void *cmd)
static void bfad_reset_sdev_bflags(struct bfad_im_port_s *im_port, static void bfad_reset_sdev_bflags(struct bfad_im_port_s *im_port,
int lunmask_cfg) int lunmask_cfg)
{ {
const u32 scan_flags = BLIST_NOREPORTLUN | BLIST_SPARSELUN; const blist_flags_t scan_flags = BLIST_NOREPORTLUN | BLIST_SPARSELUN;
struct bfad_itnim_s *itnim; struct bfad_itnim_s *itnim;
struct scsi_device *sdev; struct scsi_device *sdev;
unsigned long flags; unsigned long flags;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment