linux/drivers/phy/qualcomm
Vinod Koul 60f5a24c11 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: 52e013d0bf ("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>
2020-10-01 13:06:40 +05:30
..
Kconfig phy: qualcomm: add qcom ipq806x dwc usb phy driver 2020-07-20 11:54:03 +05:30
Makefile phy: qualcomm: add qcom ipq806x dwc usb phy driver 2020-07-20 11:54:03 +05:30
phy-ath79-usb.c phy: ath79-usb: Fix the main reset name to match the DT binding 2019-01-16 18:00:57 +05:30
phy-qcom-apq8064-sata.c phy: phy-qcom-apq8064-sata: convert to readl_relaxed_poll_timeout() 2020-09-08 09:56:11 +05:30
phy-qcom-ipq806x-sata.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
phy-qcom-ipq806x-usb.c phy: qualcomm: fix return value check in qcom_ipq806x_usb_phy_probe() 2020-08-17 09:37:12 +05:30
phy-qcom-ipq4019-usb.c phy: qcom-ipq4019-usb: Constify static phy_ops structs 2020-08-31 14:36:37 +05:30
phy-qcom-pcie2.c phy: qcom: Add Qualcomm PCIe2 PHY driver 2019-05-31 19:41:13 +05:30
phy-qcom-qmp.c phy: qcom-qmp: initialize the pointer to NULL 2020-10-01 13:06:40 +05:30
phy-qcom-qmp.h phy: qcom-qmp: Add support for DP in USB3+DP combo phy 2020-09-28 11:27:53 +05:30
phy-qcom-qusb2.c phy: qcom-qusb2: Add ipq8074 device compatible 2020-06-24 22:48:00 +05:30
phy-qcom-snps-femto-v2.c phy: qcom-snps: Add a set mode callback 2020-06-29 15:15:56 +05:30
phy-qcom-usb-hs-28nm.c phy: qualcomm: usb-hs-28nm: Prepare clocks in init 2020-04-30 12:10:49 +05:30
phy-qcom-usb-hs.c phy: qcom-usb-hs: Fix extcon double register after power cycle 2019-10-31 16:54:01 +05:30
phy-qcom-usb-hsic.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
phy-qcom-usb-ss.c phy: qualcomm: usb: Add SuperSpeed PHY driver 2020-03-20 19:34:29 +05:30