mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 14:42:24 +00:00
d8254e0e72
pnp_add_device() may fail so we need to handle errors and avoid leaking memory. Also, when pnp_alloc_dev fails, return -ENOMEM rather than -1. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> |
||
---|---|---|
.. | ||
bioscalls.c | ||
core.c | ||
Kconfig | ||
Makefile | ||
pnpbios.h | ||
proc.c | ||
rsparser.c |