diff options
author | Haowen Bai <[email protected]> | 2022-04-21 10:26:59 +0800 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2022-06-15 15:19:57 +0200 |
commit | 84a85d3fef2e75b1fe9fc2af6f5267122555a1ed (patch) | |
tree | d7dcfdddda38fe4c3e566772ec9fd6082d4e651e /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | f2906aa863381afb0015a9eb7fefad885d4e5a56 (diff) |
pinctrl: aspeed: Fix potential NULL dereference in aspeed_pinmux_set_mux()
pdesc could be null but still dereference pdesc->name and it will lead to
a null pointer access. So we move a null check before dereference.
Signed-off-by: Haowen Bai <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions