summaryrefslogtreecommitdiff
path: root/include/linux/sysdev.h
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2011-02-09 12:40:12 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2011-02-09 12:11:55 -0800
commit7e79f78b331632c1812ce9c07443550aa2b6c0fe (patch)
tree225c640b23a12b619a57f4dfd02a251d82d73ae5 /include/linux/sysdev.h
parent581de3b0a538aa18181602008aa222f51dcf1ec3 (diff)
Staging: rts_pstor: fix read past end of buffer
We read one space past the end of the buffer because we add 1. Also I changed it to use ARRAY_SIZE() instead of manually calculating the size. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/sysdev.h')
0 files changed, 0 insertions, 0 deletions