linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ide: use %*ph to print small buffers
@ 2012-10-26 13:44 Andy Shevchenko
  2012-10-26 18:55 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Shevchenko @ 2012-10-26 13:44 UTC (permalink / raw)
  To: David S. Miller, linux-ide; +Cc: Andy Shevchenko

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/ide/ide-acpi.c |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/drivers/ide/ide-acpi.c b/drivers/ide/ide-acpi.c
index f1a6796b..b768f46 100644
--- a/drivers/ide/ide-acpi.c
+++ b/drivers/ide/ide-acpi.c
@@ -310,10 +310,7 @@ static int do_drive_set_taskfiles(ide_drive_t *drive,
 		u8 *gtf = (u8 *)(gtf_address + ix * REGS_PER_GTF);
 		struct ide_cmd cmd;
 
-		DEBPRINT("(0x1f1-1f7): "
-			 "hex: %02x %02x %02x %02x %02x %02x %02x\n",
-			 gtf[0], gtf[1], gtf[2],
-			 gtf[3], gtf[4], gtf[5], gtf[6]);
+		DEBPRINT("(0x1f1-1f7): hex: %7ph\n", gtf);
 
 		if (!ide_acpigtf) {
 			DEBPRINT("_GTF execution disabled\n");
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ide: use %*ph to print small buffers
  2012-10-26 13:44 [PATCH] ide: use %*ph to print small buffers Andy Shevchenko
@ 2012-10-26 18:55 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2012-10-26 18:55 UTC (permalink / raw)
  To: andriy.shevchenko; +Cc: linux-ide

From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: Fri, 26 Oct 2012 16:44:07 +0300

> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

IDE is in deep freeze mode, critical and straight-forward bug fixes only,
I'm not applying this.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-10-26 18:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-26 13:44 [PATCH] ide: use %*ph to print small buffers Andy Shevchenko
2012-10-26 18:55 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).