projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
irda: small read past the end of array in debug code
[cascardo/linux.git]
/
include
/
net
/
irda
/
irlmp.h
diff --git
a/include/net/irda/irlmp.h
b/include/net/irda/irlmp.h
index
f741091
..
f132924
100644
(file)
--- a/
include/net/irda/irlmp.h
+++ b/
include/net/irda/irlmp.h
@@
-256,7
+256,8
@@
static inline __u32 irlmp_get_daddr(const struct lsap_cb *self)
return (self && self->lap) ? self->lap->daddr : 0;
}
-extern const char *irlmp_reasons[];
+const char *irlmp_reason_str(LM_REASON reason);
+
extern int sysctl_discovery_timeout;
extern int sysctl_discovery_slots;
extern int sysctl_discovery;