aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorDjordje Zekovic <dj@zeko.me>2014-05-23 14:18:03 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-24 04:38:34 +0900
commit6baf139e8b0efd7450cca792db5a37b0bccb8761 (patch)
tree4a93d09feb2fcf9816386beaee936c2bd1036118 /include/uapi/linux
parentdevres: Add devm_get_free_pages API (diff)
staging: usbip: use kcalloc instead of kzalloc for array allocations
The advantage of kcalloc is, that will prevent integer overflows which could result from the multiplication of number of elements and size and it is also a bit nicer to read. Signed-off-by: Djordje Zekovic <dj@zeko.me> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions