Searched hist:"03 dc2cfc" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/afs/ |
H A D | afs.h | 03dc2cfc Thu Nov 02 10:27:49 CDT 2017 David Howells <dhowells@redhat.com> afs: Fix the afs_uuid struct to make the char-sized fields signed
In AFS's encoding of a UUID, the eight 'char' fields are all signed, so represent them with __s8 rather than __u8. This makes the compiler sign-extend them correctly when XDR-encoding them.
Signed-off-by: David Howells <dhowells@redhat.com> 03dc2cfc Thu Nov 02 10:27:49 CDT 2017 David Howells <dhowells@redhat.com> afs: Fix the afs_uuid struct to make the char-sized fields signed In AFS's encoding of a UUID, the eight 'char' fields are all signed, so represent them with __s8 rather than __u8. This makes the compiler sign-extend them correctly when XDR-encoding them. Signed-off-by: David Howells <dhowells@redhat.com>
|