summaryrefslogtreecommitdiffstats
path: root/net/atm/ioctl.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2017-02-14 19:23:32 +0100
committerDavid S. Miller <davem@davemloft.net>2017-02-17 17:03:06 +0100
commit6f7aa56bae6ff38727d5c8bf6ee7d4202b4e3865 (patch)
tree14f800474cdfab3fa80eedb0462d84a52e82b08c /net/atm/ioctl.c
parentptp: do not explicitly set drvdata in ptp_clock_register() (diff)
downloadlinux-6f7aa56bae6ff38727d5c8bf6ee7d4202b4e3865.tar.xz
linux-6f7aa56bae6ff38727d5c8bf6ee7d4202b4e3865.zip
ptp: use kcalloc when allocating arrays
kcalloc is more semantically correct when allocating arrays of objects, and overflow-safe. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm/ioctl.c')
0 files changed, 0 insertions, 0 deletions