Re: [PATCH v2 2/4] nfsd: clean up sparse endianness warnings in nfscache.c

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

 



On Tue, Jun 17, 2014 at 07:44:12AM -0400, Jeff Layton wrote:
> We currently hash the XID to determine a hash bucket to use for the
> reply cache entry, which is fed into hash_32 without byte-swapping it.
> Add __force to make sparse happy, and add some comments to explain
> why.

Would seem simpler to me to simply do the byteswap, but..

Reviewed-by: Christoph Hellwig <hch@xxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux