projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
835a36c
)
[CIFS] Use unsigned ea length for clarity
author
Steve French
<sfrench@us.ibm.com>
Wed, 24 Feb 2010 21:56:48 +0000
(21:56 +0000)
committer
Steve French
<sfrench@us.ibm.com>
Wed, 24 Feb 2010 21:56:48 +0000
(21:56 +0000)
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>
fs/cifs/cifssmb.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/cifs/cifssmb.c
b/fs/cifs/cifssmb.c
index 99ae57d01d4f668797ea4aebda9cfb7f2dd8e519..b79ff68c47c724d6c9d19e57aee00991d909628a 100644
(file)
--- 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;