Re: [PATCH] scsi: bfa: fix type conversion warning

From: Martin K. Petersen
Date: Thu Dec 07 2017 - 19:59:17 EST



Arnd,

> This changes the code back to shost_priv() once more, but encapsulates
> it in an inline function to document the rather unusual way of using
> the private data only as a pointer to the previously allocated
> structure.

Applied to 4.15/scsi-fixes, thank you!

--
Martin K. Petersen Oracle Linux Engineering