From: Steve French Date: Wed, 24 Feb 2010 21:56:48 +0000 (+0000) Subject: [CIFS] Use unsigned ea length for clarity X-Git-Tag: firefly_0821_release~9833^2~3049^2~1 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=122ca0076e5f84fa12943f22f6586ff285670783;p=firefly-linux-kernel-4.4.55.git [CIFS] Use unsigned ea length for clarity Jeff correctly noted that using unsigned ea length is more intuitive. CC: Jeff Lyaton Signed-off-by: Steve French --- diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c index 99ae57d01d4f..b79ff68c47c7 100644 --- a/fs/cifs/cifssmb.c +++ b/fs/cifs/cifssmb.c @@ -5392,7 +5392,7 @@ QAllEAsRetry: temp_fea = ea_response_data->list; temp_ptr = (char *)temp_fea; while (list_len > 0) { - int name_len; + unsigned int name_len; __u16 value_len; list_len -= 4;