summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorYue Ma <yuem@codeaurora.org>2016-02-02 18:02:40 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 21:19:30 -0700
commitbf7f76cbc58bd0b365cc778f1f9634ea88d72a83 (patch)
tree275a0c3fa1acda51863bf9baac3d1fade73f47c8 /include/linux
parent3060a9aac47fca77722cd522846e134f0e3f6865 (diff)
cnss: Fix a boundary check bug in cnss prealloc driver
Currently the driver gives a memory slot only if its size is greater than the memory requested by the caller. This will waste a bigger slot if the memory requested is equal to the slot size. Hence fix it by adding the equal check when a memory slot is requested. Change-Id: Ib48477607e9332c8942894301ead606a31fa3284 Signed-off-by: Yue Ma <yuem@codeaurora.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions