mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 01:31:44 +00:00
6d715790ef
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> |
||
---|---|---|
.. | ||
configs | ||
gxio | ||
include | ||
kernel | ||
kvm | ||
lib | ||
mm | ||
Kbuild | ||
Kconfig | ||
Kconfig.debug | ||
Makefile |