diff options
author | 2017-08-17 14:53:55 +0300 | |
---|---|---|
committer | 2017-08-17 14:19:56 +0200 | |
commit | be9bac020cacd0cdf758b4a6d847a0ba835475b9 (patch) | |
tree | 6dff72c50fc2e85af6fb6a425192d41a0559dcb7 /drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c | |
parent | i2c: mux: pinctrl: drop the idle_state member (diff) | |
download | wireguard-linux-be9bac020cacd0cdf758b4a6d847a0ba835475b9.tar.xz wireguard-linux-be9bac020cacd0cdf758b4a6d847a0ba835475b9.zip |
i2c: mux: pinctrl: potential NULL dereference on error
If i2c_mux_alloc() fails then we'd have a NULL dereference here.
Fixes: c4aee3e1b0de ("i2c: mux: pinctrl: remove platform_data")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Peter Rosin <peda@axentia.se>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c')
0 files changed, 0 insertions, 0 deletions