Skip to contentSkip to conversation

linux-next: build warnings after merge of the scsi tree

DISCUSSION Stephen Rothwell 1 participant 2 messages Dec 6, 2017 – Dec 11, 2017 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi James,

After merging the scsi tree, today's linux-next build (x86_64 allmodconfig) produced these warnings:

drivers/scsi/bfa/bfad_bsg.c: In function 'bfad_im_bsg_vendor_request':
drivers/scsi/bfa/bfad_bsg.c:3137:35: warning: initialization makes pointer from integer without a cast [-Wint-conversion]

  struct bfad_im_port_s *im_port = shost->hostdata[0];
                                   ^
drivers/scsi/bfa/bfad_bsg.c: In function 'bfad_im_bsg_els_ct_request':
drivers/scsi/bfa/bfad_bsg.c:3353:35: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
  struct bfad_im_port_s *im_port = shost->hostdata[0];
                                   ^

Introduced by commit

45349821ab3a ("scsi: bfa: fix access to bfad_im_port_s")

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Hi all,

Quoted 13 lines · On Wed, 6 Dec 2017 13:31:49 +1100 Stephen Rothwell <[email protected]> wrote:

After merging the scsi tree, today's linux-next build (x86_64 allmodconfig) produced these warnings:

drivers/scsi/bfa/bfad_bsg.c: In function 'bfad_im_bsg_vendor_request':
drivers/scsi/bfa/bfad_bsg.c:3137:35: warning: initialization makes pointer from integer without a cast [-Wint-conversion]

  struct bfad_im_port_s *im_port = shost->hostdata[0];
                                   ^
drivers/scsi/bfa/bfad_bsg.c: In function 'bfad_im_bsg_els_ct_request':
drivers/scsi/bfa/bfad_bsg.c:3353:35: warning: initialization makes pointer from integer without a cast [-Wint-conversion]
  struct bfad_im_port_s *im_port = shost->hostdata[0];
                                   ^
Quoted 3 lines

Introduced by commit

45349821ab3a ("scsi: bfa: fix access to bfad_im_port_s")

I am still getting these ...

Signature · 2 lines
Cheers,
Stephen Rothwell