diff options
author | Uwe Kleine-König <[email protected]> | 2021-02-05 23:28:38 +0100 |
---|---|---|
committer | Dan Williams <[email protected]> | 2021-02-16 19:40:20 -0800 |
commit | 5b8e64f1ada37574b9ab124e1414af2adf688a19 (patch) | |
tree | bec74af4801780cf4e0f20bba5c855573f5641c0 /scripts/gdb/linux/tasks.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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions