aboutsummaryrefslogtreecommitdiffstats
path: root/net/dsa/dsa.c
diff options
context:
space:
mode:
authorTom Lendacky <[email protected]>2015-10-05 15:51:03 +0000
committerDavid S. Miller <[email protected]>2015-10-06 06:30:51 +0000
commit855591d2f7d1ff7eb18b60ce2be494e3bfe27fb8 (patch)
tree0f660f069392b98eac4e8cf2db9bdc80ce1a3e18 /net/dsa/dsa.c
parentopenvswitch: Fix ovs_vport_get_stats() (diff)
downloadkernel-855591d2f7d1ff7eb18b60ce2be494e3bfe27fb8.tar.gz
kernel-855591d2f7d1ff7eb18b60ce2be494e3bfe27fb8.zip
amd-xgbe: Check for successful buffer allocation before use
The kasprintf function can return NULL if the allocation fails. Check for successful allocation before attempting to use the returned buffer. Signed-off-by: Tom Lendacky <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/dsa/dsa.c')
0 files changed, 0 insertions, 0 deletions