Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1436761

[PATCH 07/10] phy: phy-qcom-ufs-qmp-14nm: Remove site specific OOM error message

From Kishon Vijay Abraham I <kishon@ti.com>
Newsgroups linux.kernel
Subject [PATCH 07/10] phy: phy-qcom-ufs-qmp-14nm: Remove site specific OOM error message
Date 2016-07-05 07:30 +0200
Message-ID <rRr5L-70r-15@gated-at.bofh.it> (permalink)
References <rRr5L-70r-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Peter Griffin <peter.griffin@linaro.org>

kzalloc will issue its own error message including a dump_stack()
so remote the site specific message.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
---
 drivers/phy/phy-qcom-ufs-qmp-14nm.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/phy/phy-qcom-ufs-qmp-14nm.c b/drivers/phy/phy-qcom-ufs-qmp-14nm.c
index 56631e7..6ee5149 100644
--- a/drivers/phy/phy-qcom-ufs-qmp-14nm.c
+++ b/drivers/phy/phy-qcom-ufs-qmp-14nm.c
@@ -140,7 +140,6 @@ static int ufs_qcom_phy_qmp_14nm_probe(struct platform_device *pdev)
 
 	phy = devm_kzalloc(dev, sizeof(*phy), GFP_KERNEL);
 	if (!phy) {
-		dev_err(dev, "%s: failed to allocate phy\n", __func__);
 		err = -ENOMEM;
 		goto out;
 	}
-- 
1.7.9.5

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[GIT PULL] phy: for 4.8 merge window Kishon Vijay Abraham I <kishon@ti.com> - 2016-07-05 07:30 +0200
  [PATCH 07/10] phy: phy-qcom-ufs-qmp-14nm: Remove site specific OOM error message Kishon Vijay Abraham I <kishon@ti.com> - 2016-07-05 07:30 +0200
  [PATCH 03/10] dt-bindings: Add bindings for phy-da8xx-usb Kishon Vijay Abraham I <kishon@ti.com> - 2016-07-05 07:30 +0200
  [PATCH 08/10] phy-sun4i-usb: Add workaround for missing Vbus det interrupts on A31 Kishon Vijay Abraham I <kishon@ti.com> - 2016-07-05 07:30 +0200
  [PATCH 10/10] phy: rcar-gen3-usb2: fix mutex_lock calling in interrupt Kishon Vijay Abraham I <kishon@ti.com> - 2016-07-05 07:30 +0200
  [PATCH 04/10] phy: da8xx-usb: new driver for DA8xx SoC USB PHY Kishon Vijay Abraham I <kishon@ti.com> - 2016-07-05 07:30 +0200
  [PATCH 02/10] phy: Add set_mode callback Kishon Vijay Abraham I <kishon@ti.com> - 2016-07-05 07:30 +0200
  [PATCH 09/10] phy: rockhip-usb: use devm_add_action_or_reset() Kishon Vijay Abraham I <kishon@ti.com> - 2016-07-05 07:30 +0200
  [PATCH 05/10] phy: rockchip-usb: should be a child device of the GRF Kishon Vijay Abraham I <kishon@ti.com> - 2016-07-05 07:30 +0200

csiph-web