diff options
| author | Dan Carpenter <error27@gmail.com> | 2011-02-09 12:40:12 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-02-09 12:11:55 -0800 |
| commit | 7e79f78b331632c1812ce9c07443550aa2b6c0fe (patch) | |
| tree | 225c640b23a12b619a57f4dfd02a251d82d73ae5 /include/linux/sysdev.h | |
| parent | 581de3b0a538aa18181602008aa222f51dcf1ec3 (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
