summaryrefslogtreecommitdiffstats
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>2017-05-05 21:29:13 +0200
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2017-05-31 03:13:36 -0700
commit0a4ecc2c5e0479f269e6ca5f9588b23d649aa948 (patch)
treed0349b76a1a65baef3883e4e03b85e389b25dd1b /include/linux/timerqueue.h
parent0bc0706b46cd345537f9bd3cdf5d84c33f5484e4 (diff)
downloadcachepc-linux-0a4ecc2c5e0479f269e6ca5f9588b23d649aa948.tar.gz
cachepc-linux-0a4ecc2c5e0479f269e6ca5f9588b23d649aa948.zip
i40e: Check for memory allocation failure
If 'kzalloc' fails, a NULL pointer will be dereferenced. Return -ENOMEM instead. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions