aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorUwe Kleine-König <uwe@kleine-koenig.org>2021-02-05 23:28:38 +0100
committerDan Williams <dan.j.williams@intel.com>2021-02-16 19:40:20 -0800
commit5b8e64f1ada37574b9ab124e1414af2adf688a19 (patch)
treebec74af4801780cf4e0f20bba5c855573f5641c0 /tools/perf/scripts/python
parent7323fb22f05ff1d20498d267828870a5fbbaebd6 (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')
0 files changed, 0 insertions, 0 deletions