diff options
author | Uwe Kleine-König <uwe@kleine-koenig.org> | 2021-02-05 23:28:38 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2021-02-16 19:40:20 -0800 |
commit | 5b8e64f1ada37574b9ab124e1414af2adf688a19 (patch) | |
tree | bec74af4801780cf4e0f20bba5c855573f5641c0 /tools/perf/scripts/python/syscall-counts.py | |
parent | 7323fb22f05ff1d20498d267828870a5fbbaebd6 (diff) |
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>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions