aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSergey Ryazanov <ryazanov.s.a@gmail.com>2021-06-22 01:50:53 +0300
committerDavid S. Miller <davem@davemloft.net>2021-06-22 10:01:16 -0700
commit58c3b421c62edd30b0b660e3e6711ad91842c271 (patch)
tree2325031d2022b27a69842311d8d661d92c5e9c78 /tools/perf/scripts/python/export-to-postgresql.py
parent355a4e7e0a231af80fc0f470235dc6747d2e0936 (diff)
downloadlinux-58c3b421c62edd30b0b660e3e6711ad91842c271.tar.gz
linux-58c3b421c62edd30b0b660e3e6711ad91842c271.tar.bz2
linux-58c3b421c62edd30b0b660e3e6711ad91842c271.zip
wwan: core: require WWAN netdev setup callback existence
The setup callback will be unconditionally passed to the alloc_netdev_mqs(), where the NULL pointer dereference will cause the kernel panic. So refuse to register WWAN netdev ops with warning generation if the setup callback is not provided. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> Reviewed-by: Loic Poulain <loic.poulain@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions