Re: [PATCH 14/24] aic79xx: make BUILD_SCSIID() a function

Christoph Hellwig
2022-05-03T14:13:33Z

On Mon, May 02, 2022 at 11:38:10PM +0200, Hannes Reinecke wrote:
> +{
> + unsigned int scsiid =
> + ((sdev_id(sdev) << TID_SHIFT) & TID) | (ahd)->our_id;
> +
> + return scsiid;

return ((sdev_id(sdev) << TID_SHIFT) & TID) | ahd->our_id;