linux/drivers/dax
Uwe Kleine-König 5b8e64f1ad device-dax: Prevent registering drivers without probe callback
The bus probe function dax_bus_probe() calls the probe callback without
checking it to be non-NULL. Prevent a NULL pointer exception if a driver
without a probe function is registered by refusing to register this
driver.

Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
Link: https://lore.kernel.org/r/20210205222842.34896-2-uwe@kleine-koenig.org
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2021-02-16 19:40:20 -08:00
..
hmem dax/hmem: introduce dax_hmem.region_idle parameter 2020-10-13 18:38:28 -07:00
pmem device-dax/pmem: Convert comma to semicolon 2020-12-15 21:58:57 -08:00
bus.c device-dax: Prevent registering drivers without probe callback 2021-02-16 19:40:20 -08:00
bus.h mm/memremap_pages: convert to 'struct range' 2020-10-13 18:38:28 -07:00
dax-private.h device-dax: add an 'align' attribute 2020-10-13 18:38:28 -07:00
device.c vm_ops: rename .split() callback to .may_split() 2020-12-15 12:13:41 -08:00
Kconfig mm: fix phys_to_target_node() and memory_add_physaddr_to_nid() exports 2020-11-22 10:48:22 -08:00
kmem.c device-dax/kmem: use struct_size() 2020-12-15 12:13:38 -08:00
Makefile ACPI: HMAT: refactor hmat_register_target_device to hmem_register_device 2020-10-13 18:38:27 -07:00
super.c device-dax/core: Fix memory leak when rmmod dax.ko 2020-12-15 22:03:52 -08:00