summaryrefslogtreecommitdiff
path: root/samples/Kconfig
diff options
context:
space:
mode:
authorWang Sheng-Hui <shhuiw@gmail.com>2013-08-22 01:49:42 (GMT)
committerChris Metcalf <cmetcalf@tilera.com>2013-09-03 18:53:34 (GMT)
commit6d715790ef6b5b903779a14d995ce3d9e680bec0 (patch)
tree8ff5c867220173ded9e7de932b9a9759855ec5f1 /samples/Kconfig
parentce61cdc270a5e0dd18057bbf29bd3471abccbda8 (diff)
downloadlinux-fsl-qoriq-6d715790ef6b5b903779a14d995ce3d9e680bec0.tar.xz
tile: add null check for kzalloc in tile/kernel/setup.c
Should check the return value of kzalloc first to avoid the null pointer. Then can dereference the non-null pointer to access the fields of struct resource. Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com> Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Diffstat (limited to 'samples/Kconfig')
0 files changed, 0 insertions, 0 deletions