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

Hannes Reinecke
2022-05-03T14:19:22Z

On 5/3/22 07:13, Christoph Hellwig wrote:
> 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;
Yep.

Cheers,

Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare@suse.de +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer