summaryrefslogtreecommitdiffstats
path: root/drivers/fpga
diff options
context:
space:
mode:
authorVinod Koul <vkoul@kernel.org>2020-10-01 09:09:11 +0200
committerVinod Koul <vkoul@kernel.org>2020-10-01 09:36:40 +0200
commit60f5a24c11f7fa0c8c74018cfd4c25a3f432fdaf (patch)
treed54521813bb232c61c96526168c7ddc05f02a59f /drivers/fpga
parentphy: qcom-qmp: Add support for sc7180 DP phy (diff)
downloadlinux-60f5a24c11f7fa0c8c74018cfd4c25a3f432fdaf.tar.xz
linux-60f5a24c11f7fa0c8c74018cfd4c25a3f432fdaf.zip
phy: qcom-qmp: initialize the pointer to NULL
Smatch complains: drivers/phy/qualcomm/phy-qcom-qmp.c:3899 qcom_qmp_phy_probe() error: uninitialized symbol 'dp_cfg'. drivers/phy/qualcomm/phy-qcom-qmp.c:3900 qcom_qmp_phy_probe() error: uninitialized symbol 'dp_serdes'. drivers/phy/qualcomm/phy-qcom-qmp.c:3902 qcom_qmp_phy_probe() error: uninitialized symbol 'usb_cfg'. This is a warning but not a practical one as dp_cfg, dp_serdes and usb_cfg will be set and used when valid. So we can set the pointers to NULL to quiesce the warnings. Fixes: 52e013d0bffa ("phy: qcom-qmp: Add support for DP in USB3+DP combo phy") Reported-by: kernel test robot <lkp@intel.com> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Stephen Boyd <swboyd@chromium.org> Link: https://lore.kernel.org/r/20201001070911.140019-1-vkoul@kernel.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/fpga')
0 files changed, 0 insertions, 0 deletions