Linus Torvalds writes: (Summary) On Tue, Dec 12, 2017 at 9:22 AM, Martin K. wrote:
The commit you point to _is_ the probnlem. It does: struct bfad_im_port_s *im_port = shost->hostdata[0]; It's assigning a pointer (im_port), from an integer value ("hostdata[0]" is "unsigned long"). The code is garbage.
The code is garbage.
Linus
Linus
Linus
[...]
Arnd and Johannes fixed this up right away:The commit you point to _is_ the probnlem. It does: struct bfad_im_port_s *im_port = shost->hostdata[0]; It's assigning a pointer (im_port), from an integer value ("hostdata[0]" is "unsigned long"). The code is garbage.
The code is garbage.
Linus
Linus
Linus