projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux
[firefly-linux-kernel-4.4.55.git]
/
net
/
rose
/
rose_subr.c
diff --git
a/net/rose/rose_subr.c
b/net/rose/rose_subr.c
index 47f1fdb346b01b3e15461b71a64a5f953fdaec7f..7ca57741b2fbbbc8f5ccf139f5ffbe56b969c458 100644
(file)
--- a/
net/rose/rose_subr.c
+++ b/
net/rose/rose_subr.c
@@
-399,7
+399,7
@@
int rose_parse_facilities(unsigned char *p, unsigned packet_len,
facilities_len = *p++;
- if (facilities_len == 0 || (unsigned)facilities_len > packet_len)
+ if (facilities_len == 0 || (unsigned
int
)facilities_len > packet_len)
return 0;
while (facilities_len >= 3 && *p == 0x00) {