mirror of
https://github.com/torvalds/linux
synced 2024-09-21 11:38:48 +00:00
[CIFS] Use unsigned ea length for clarity
Jeff correctly noted that using unsigned ea length is more intuitive. CC: Jeff Lyaton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
This commit is contained in:
parent
835a36ca4a
commit
122ca0076e
|
@ -5392,7 +5392,7 @@ CIFSSMBQAllEAs(const int xid, struct cifsTconInfo *tcon,
|
||||||
temp_fea = ea_response_data->list;
|
temp_fea = ea_response_data->list;
|
||||||
temp_ptr = (char *)temp_fea;
|
temp_ptr = (char *)temp_fea;
|
||||||
while (list_len > 0) {
|
while (list_len > 0) {
|
||||||
int name_len;
|
unsigned int name_len;
|
||||||
__u16 value_len;
|
__u16 value_len;
|
||||||
|
|
||||||
list_len -= 4;
|
list_len -= 4;
|
||||||
|
|
Loading…
Reference in a new issue