summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorTushar Dave <tushar.n.dave@oracle.com>2017-08-16 11:09:10 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-08-30 10:26:22 +0200
commit16caf8dff7ee7d93a12ad61253cffbcb414e823f (patch)
treec90655143f1b5648ea234df3aaaf816a929cc332 /arch
parente0e7ae96b72318d3d8797de0befbe6c6f001f663 (diff)
sparc64: remove unnecessary log message
[ Upstream commit 6170a506899aee3dd4934c928426505e47b1b466 ] There is no need to log message if ATU hvapi couldn't get register. Unlike PCI hvapi, ATU hvapi registration failure is not hard error. Even if ATU hvapi registration fails (on system with ATU or without ATU) system continues with legacy IOMMU. So only log message when ATU hvapi successfully get registered. Signed-off-by: Tushar Dave <tushar.n.dave@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/sparc/kernel/pci_sun4v.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sparc/kernel/pci_sun4v.c b/arch/sparc/kernel/pci_sun4v.c
index 68bec7c97cb8..af6ac9c5d32e 100644
--- a/arch/sparc/kernel/pci_sun4v.c
+++ b/arch/sparc/kernel/pci_sun4v.c
@@ -1241,8 +1241,6 @@ static int pci_sun4v_probe(struct platform_device *op)
* ATU group, but ATU hcalls won't be available.
*/
hv_atu = false;
- pr_err(PFX "Could not register hvapi ATU err=%d\n",
- err);
} else {
pr_info(PFX "Registered hvapi ATU major[%lu] minor[%lu]\n",
vatu_major, vatu_minor);