Re: [PATCH 075/117] nfsd: Convert to the scsi_status union

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> On Apr 20, 2021, at 12:44 PM, Bart Van Assche <bvanassche@xxxxxxx> wrote:
> 
> On 4/20/21 7:36 AM, Chuck Lever III wrote:
>>> On Apr 19, 2021, at 8:08 PM, Bart Van Assche <bvanassche@xxxxxxx> wrote:
>>> An explanation of the purpose of this patch is available in the patch
>>> "scsi: Introduce the scsi_status union".
>>> 
>>> Cc: "J. Bruce Fields" <bfields@xxxxxxxxxxxx>
>>> Cc: Chuck Lever <chuck.lever@xxxxxxxxxx>
>>> Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx>
>> 
>> Hi Bart, I assume this is going into v5.13 via the SCSI tree?
>> Do you need an Acked-by: from the NFSD maintainers?
> 
> Hi Chuck,
> 
> Thanks for having taken a look. In case you would not yet have found the
> "scsi: Introduce the scsi_status union" patch, it is available here:
> https://lore.kernel.org/linux-scsi/20210420000845.25873-12-bvanassche@xxxxxxx/T/#u
> 
> An Acked-by or Reviewed-by from an NFS expert would be great.

The NFSD patch looks OK to me, but I'm hesitating on sending
an Acked-by.

I went back and looked at the scsi_status union patch, and
that looks dodgy to me.

AFAIK, "enum" doesn't cause the compiler to reserve any
particular size of storage, it just makes a guess. What
keeps those enum fields from being 16- or 32-bits wide?
Shouldn't those be u8 to enforce the correct field size?

I'm not sure where to look for further discussion on that
part of the series.


> The names in the Cc: list come from the following entry in the
> MAINTAINERS file: "KERNEL NFSD, SUNRPC, AND LOCKD SERVERS".
> 
> Bart.

--
Chuck Lever







[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux