diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2013-07-16 20:32:33 +0200 |
---|---|---|
committer | Yann E. MORIN <yann.morin.1998@free.fr> | 2013-07-16 20:36:18 +0200 |
commit | 1407f97aeda5720d6327d69f6058537c0fd469e3 (patch) | |
tree | e16cffe6b08d38c18db57ef46e96c757c0690f75 /mm/mmu_notifier.c | |
parent | kconfig: minor style fixes in symbol-search code (diff) | |
download | linux-1407f97aeda5720d6327d69f6058537c0fd469e3.tar.xz linux-1407f97aeda5720d6327d69f6058537c0fd469e3.zip |
kconfig: don't allocate n+1 elements in temporary array
The temporary array that stores the search results is not NULL-terminated,
so there is no reason to allocate n+1 elements.
Reported-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Diffstat (limited to 'mm/mmu_notifier.c')
0 files changed, 0 insertions, 0 deletions