lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20201026100247.GL1042@kadam>
Date:   Mon, 26 Oct 2020 13:02:48 +0300
From:   Dan Carpenter <dan.carpenter@...cle.com>
To:     kbuild@...ts.01.org, Stephen Boyd <swboyd@...omium.org>
Cc:     lkp@...el.com, Dan Carpenter <error27@...il.com>,
        kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Vinod Koul <vkoul@...nel.org>
Subject: drivers/phy/qualcomm/phy-qcom-qmp.c:3900 qcom_qmp_phy_probe() error:
 uninitialized symbol 'dp_serdes'.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   986b9eacb25910865b50e5f298aa8e2df7642f1b
commit: 52e013d0bffa2238746b246074272817ec8e0807 phy: qcom-qmp: Add support for DP in USB3+DP combo phy
config: i386-randconfig-m021-20201026 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
Reported-by: Dan Carpenter <dan.carpenter@...cle.com>

New smatch warnings:
drivers/phy/qualcomm/phy-qcom-qmp.c:3900 qcom_qmp_phy_probe() error: uninitialized symbol 'dp_serdes'.

Old smatch warnings:
drivers/phy/qualcomm/phy-qcom-qmp.c:3719 qcom_qmp_phy_create() warn: 'qphy->pcs' not released on lines: 3684,3695,3710.
drivers/phy/qualcomm/phy-qcom-qmp.c:3719 qcom_qmp_phy_create() warn: 'qphy->rx' not released on lines: 3684,3695,3710.
drivers/phy/qualcomm/phy-qcom-qmp.c:3719 qcom_qmp_phy_create() warn: 'qphy->tx' not released on lines: 3684,3695,3710.
drivers/phy/qualcomm/phy-qcom-qmp.c:3899 qcom_qmp_phy_probe() error: uninitialized symbol 'dp_cfg'.
drivers/phy/qualcomm/phy-qcom-qmp.c:3902 qcom_qmp_phy_probe() error: uninitialized symbol 'usb_cfg'.

vim +/dp_serdes +3900 drivers/phy/qualcomm/phy-qcom-qmp.c

e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3797  static int qcom_qmp_phy_probe(struct platform_device *pdev)
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3798  {
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3799  	struct qcom_qmp *qmp;
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3800  	struct device *dev = &pdev->dev;
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3801  	struct device_node *child;
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3802  	struct phy_provider *phy_provider;
aa968cb1a67e27 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3803  	void __iomem *serdes;
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3804  	void __iomem *usb_serdes;
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3805  	void __iomem *dp_serdes;
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3806  	const struct qmp_phy_combo_cfg *combo_cfg = NULL;
aa968cb1a67e27 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3807  	const struct qmp_phy_cfg *cfg;
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3808  	const struct qmp_phy_cfg *usb_cfg;
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3809  	const struct qmp_phy_cfg *dp_cfg;
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3810  	int num, id, expected_phys;
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3811  	int ret;
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3812  
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3813  	qmp = devm_kzalloc(dev, sizeof(*qmp), GFP_KERNEL);
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3814  	if (!qmp)
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3815  		return -ENOMEM;
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3816  
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3817  	qmp->dev = dev;
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3818  	dev_set_drvdata(dev, qmp);
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3819  
efb05a50c956b4 drivers/phy/qualcomm/phy-qcom-qmp.c Manu Gautam           2018-01-16  3820  	/* Get the specific init parameters of QMP phy */
aa968cb1a67e27 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3821  	cfg = of_device_get_match_data(dev);
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3822  	if (!cfg) {
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3823  		const struct of_device_id *match;
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3824  
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3825  		match = of_match_device(qcom_qmp_combo_phy_of_match_table, dev);
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3826  		if (!match)
efb05a50c956b4 drivers/phy/qualcomm/phy-qcom-qmp.c Manu Gautam           2018-01-16  3827  			return -EINVAL;
efb05a50c956b4 drivers/phy/qualcomm/phy-qcom-qmp.c Manu Gautam           2018-01-16  3828  
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3829  		combo_cfg = match->data;
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3830  		if (!combo_cfg)
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3831  			return -EINVAL;
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3832  
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3833  		usb_cfg = combo_cfg->usb_cfg;
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3834  		cfg = usb_cfg; /* Setup clks and regulators */
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3835  	}
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3836  
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3837  	/* per PHY serdes; usually located at base address */
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3838  	usb_serdes = serdes = devm_platform_ioremap_resource(pdev, 0);
f385b73192c584 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3839  	if (IS_ERR(serdes))
f385b73192c584 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3840  		return PTR_ERR(serdes);
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3841  
efb05a50c956b4 drivers/phy/qualcomm/phy-qcom-qmp.c Manu Gautam           2018-01-16  3842  	/* per PHY dp_com; if PHY has dp_com control block */
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3843  	if (combo_cfg || cfg->has_phy_dp_com_ctrl) {
dab7b10ddc83e5 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3844  		qmp->dp_com = devm_platform_ioremap_resource(pdev, 1);
dab7b10ddc83e5 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3845  		if (IS_ERR(qmp->dp_com))
dab7b10ddc83e5 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3846  			return PTR_ERR(qmp->dp_com);
efb05a50c956b4 drivers/phy/qualcomm/phy-qcom-qmp.c Manu Gautam           2018-01-16  3847  	}
efb05a50c956b4 drivers/phy/qualcomm/phy-qcom-qmp.c Manu Gautam           2018-01-16  3848  
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3849  	if (combo_cfg) {
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3850  		/* Only two serdes for combo PHY */
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3851  		dp_serdes = devm_platform_ioremap_resource(pdev, 2);
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3852  		if (IS_ERR(dp_serdes))
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3853  			return PTR_ERR(dp_serdes);
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3854  
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3855  		dp_cfg = combo_cfg->dp_cfg;
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3856  		expected_phys = 2;
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3857  	} else {
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3858  		expected_phys = cfg->nlanes;

dp_serdes not initialized on else path.

52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3859  	}
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3860  
efb05a50c956b4 drivers/phy/qualcomm/phy-qcom-qmp.c Manu Gautam           2018-01-16  3861  	mutex_init(&qmp->phy_mutex);
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3862  
aa968cb1a67e27 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3863  	ret = qcom_qmp_phy_clk_init(dev, cfg);
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3864  	if (ret)
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3865  		return ret;
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3866  
aa968cb1a67e27 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3867  	ret = qcom_qmp_phy_reset_init(dev, cfg);
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3868  	if (ret)
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3869  		return ret;
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3870  
aa968cb1a67e27 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3871  	ret = qcom_qmp_phy_vreg_init(dev, cfg);
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3872  	if (ret) {
22fa10e52ab30c drivers/phy/qualcomm/phy-qcom-qmp.c Douglas Anderson      2018-05-14  3873  		if (ret != -EPROBE_DEFER)
22fa10e52ab30c drivers/phy/qualcomm/phy-qcom-qmp.c Douglas Anderson      2018-05-14  3874  			dev_err(dev, "failed to get regulator supplies: %d\n",
22fa10e52ab30c drivers/phy/qualcomm/phy-qcom-qmp.c Douglas Anderson      2018-05-14  3875  				ret);
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3876  		return ret;
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3877  	}
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3878  
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3879  	num = of_get_available_child_count(dev->of_node);
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3880  	/* do we have a rogue child node ? */
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3881  	if (num > expected_phys)
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3882  		return -EINVAL;
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3883  
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3884  	qmp->phys = devm_kcalloc(dev, num, sizeof(*qmp->phys), GFP_KERNEL);
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3885  	if (!qmp->phys)
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3886  		return -ENOMEM;
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3887  
ac0d239936bd87 drivers/phy/qualcomm/phy-qcom-qmp.c Manu Gautam           2018-01-16  3888  	pm_runtime_set_active(dev);
ac0d239936bd87 drivers/phy/qualcomm/phy-qcom-qmp.c Manu Gautam           2018-01-16  3889  	pm_runtime_enable(dev);
ac0d239936bd87 drivers/phy/qualcomm/phy-qcom-qmp.c Manu Gautam           2018-01-16  3890  	/*
ac0d239936bd87 drivers/phy/qualcomm/phy-qcom-qmp.c Manu Gautam           2018-01-16  3891  	 * Prevent runtime pm from being ON by default. Users can enable
ac0d239936bd87 drivers/phy/qualcomm/phy-qcom-qmp.c Manu Gautam           2018-01-16  3892  	 * it using power/control in sysfs.
ac0d239936bd87 drivers/phy/qualcomm/phy-qcom-qmp.c Manu Gautam           2018-01-16  3893  	 */
ac0d239936bd87 drivers/phy/qualcomm/phy-qcom-qmp.c Manu Gautam           2018-01-16  3894  	pm_runtime_forbid(dev);
ac0d239936bd87 drivers/phy/qualcomm/phy-qcom-qmp.c Manu Gautam           2018-01-16  3895  
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3896  	id = 0;
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3897  	for_each_available_child_of_node(dev->of_node, child) {
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3898  		if (of_node_name_eq(child, "dp-phy")) {

Based on the name, probably "dp-phy" are dp_serdes but it's impossible
to be certain just from examining the code so the checker complains.

52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3899  			cfg = dp_cfg;
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16 @3900  			serdes = dp_serdes;
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3901  		} else if (of_node_name_eq(child, "usb3-phy")) {
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3902  			cfg = usb_cfg;
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3903  			serdes = usb_serdes;
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3904  		}
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3905  
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3906  		/* Create per-lane phy */
aa968cb1a67e27 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3907  		ret = qcom_qmp_phy_create(dev, child, id, serdes, cfg);
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3908  		if (ret) {
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3909  			dev_err(dev, "failed to create lane%d phy, %d\n",
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3910  				id, ret);
be0345b2cc1f3e drivers/phy/qualcomm/phy-qcom-qmp.c Nishka Dasgupta       2019-08-08  3911  			goto err_node_put;
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3912  		}
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3913  
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3914  		/*
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3915  		 * Register the pipe clock provided by phy.
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3916  		 * See function description to see details of this pipe clock.
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3917  		 */
aa968cb1a67e27 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3918  		if (cfg->type == PHY_TYPE_USB3 || cfg->type == PHY_TYPE_PCIE) {
2a9316b04605a0 drivers/phy/qualcomm/phy-qcom-qmp.c Varadarajan Narayanan 2017-07-31  3919  			ret = phy_pipe_clk_register(qmp, child);
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3920  			if (ret) {
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3921  				dev_err(qmp->dev,
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3922  					"failed to register pipe clock source\n");
be0345b2cc1f3e drivers/phy/qualcomm/phy-qcom-qmp.c Nishka Dasgupta       2019-08-08  3923  				goto err_node_put;
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3924  			}
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3925  		} else if (cfg->type == PHY_TYPE_DP) {
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3926  			ret = phy_dp_clks_register(qmp, qmp->phys[id], child);
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3927  			if (ret) {
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3928  				dev_err(qmp->dev,
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3929  					"failed to register DP clock source\n");
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3930  				goto err_node_put;
52e013d0bffa22 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3931  			}
aa968cb1a67e27 drivers/phy/qualcomm/phy-qcom-qmp.c Stephen Boyd          2020-09-16  3932  		}
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3933  		id++;
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3934  	}
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3935  
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3936  	phy_provider = devm_of_phy_provider_register(dev, of_phy_simple_xlate);
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3937  	if (!IS_ERR(phy_provider))
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3938  		dev_info(dev, "Registered Qcom-QMP phy\n");
ac0d239936bd87 drivers/phy/qualcomm/phy-qcom-qmp.c Manu Gautam           2018-01-16  3939  	else
ac0d239936bd87 drivers/phy/qualcomm/phy-qcom-qmp.c Manu Gautam           2018-01-16  3940  		pm_runtime_disable(dev);
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3941  
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3942  	return PTR_ERR_OR_ZERO(phy_provider);
be0345b2cc1f3e drivers/phy/qualcomm/phy-qcom-qmp.c Nishka Dasgupta       2019-08-08  3943  
be0345b2cc1f3e drivers/phy/qualcomm/phy-qcom-qmp.c Nishka Dasgupta       2019-08-08  3944  err_node_put:
be0345b2cc1f3e drivers/phy/qualcomm/phy-qcom-qmp.c Nishka Dasgupta       2019-08-08  3945  	pm_runtime_disable(dev);
be0345b2cc1f3e drivers/phy/qualcomm/phy-qcom-qmp.c Nishka Dasgupta       2019-08-08  3946  	of_node_put(child);
be0345b2cc1f3e drivers/phy/qualcomm/phy-qcom-qmp.c Nishka Dasgupta       2019-08-08  3947  	return ret;
e78f3d15e115e8 drivers/phy/phy-qcom-qmp.c          Vivek Gautam          2017-04-06  3948  }

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (39276 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ