[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1795798f-3dd4-d123-16c2-82bf223565e9@users.sourceforge.net>
Date: Sat, 22 Oct 2016 21:53:00 +0200
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: linux-ia64@...r.kernel.org, Al Viro <viro@...iv.linux.org.uk>,
Borislav Petkov <bp@...e.de>,
Fenghua Yu <fenghua.yu@...el.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Hans-Christian Noren Egtvedt <egtvedt@...fundet.no>,
Ingo Molnar <mingo@...nel.org>,
Jörg Rödel <jroedel@...e.de>,
Krzysztof Kozlowski <krzk@...nel.org>,
Robert Richter <rrichter@...ium.com>,
Robin Murphy <robin.murphy@....com>,
Tony Luck <tony.luck@...el.com>,
Toshi Kani <toshi.kani@....com>,
Vineet Gupta <vgupta@...opsys.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org
Subject: [PATCH 1/6] IA64-sba_iommu: Use seq_puts() in ioc_show()
From: Markus Elfring <elfring@...rs.sourceforge.net>
Date: Sat, 22 Oct 2016 20:20:24 +0200
A string which did not contain a data format specification should be put
into a sequence. Thus use the corresponding function "seq_puts".
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@...rs.sourceforge.net>
---
arch/ia64/hp/common/sba_iommu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/ia64/hp/common/sba_iommu.c b/arch/ia64/hp/common/sba_iommu.c
index 630ee80..282f5c1 100644
--- a/arch/ia64/hp/common/sba_iommu.c
+++ b/arch/ia64/hp/common/sba_iommu.c
@@ -1930,7 +1930,7 @@ ioc_show(struct seq_file *s, void *v)
}
#endif
#ifndef ALLOW_IOV_BYPASS
- seq_printf(s, "IOVA bypass disabled\n");
+ seq_puts(s, "IOVA bypass disabled\n");
#endif
return 0;
}
--
2.10.1
Powered by blists - more mailing lists