Re: [PATCH v2] nfsd: Change the type of ek_fsidtype from int to u8 and use kstrtou8

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

 



From: Chuck Lever <chuck.lever@xxxxxxxxxx>

On Wed, 04 Jun 2025 11:47:26 +0800, Su Hui wrote:
> The valid values for ek_fsidtype are actually 0-7 so it's better to
> change the type to u8. Also using kstrtou8() to relpace simple_strtoul(),
> kstrtou8() is safer and more suitable for u8.
> 
> 

Applied to nfsd-testing, thanks!

[1/1] nfsd: Change the type of ek_fsidtype from int to u8 and use kstrtou8
      commit: 6d347df2660c6521c665b19f80b25e20363a660e

--
Chuck Lever





[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux