[flashrom] [commit] r1322 - trunk

repository service svn at flashrom.org
Sun May 29 00:59:05 CEST 2011


Author: stefanct
Date: Sun May 29 00:59:05 2011
New Revision: 1322
URL: http://flashrom.org/trac/flashrom/changeset/1322

Log:
tiny fix for a small fix

there was one line break added too much in the previous commit, sorry.
the probing functions need to output at least one '\n' for satisfactory output.
that means even in error cases they have to do that.
OTOH they should not output a sequence of "\n\n" because
it would distort the verbose probing output with empty lines.

Signed-off-by: Stefan Tauner <stefan.tauner at student.tuwien.ac.at>
Acked-by: Stefan Tauner <stefan.tauner at student.tuwien.ac.at>

Modified:
   trunk/spi25.c

Modified: trunk/spi25.c
==============================================================================
--- trunk/spi25.c	Sat May 28 04:37:14 2011	(r1321)
+++ trunk/spi25.c	Sun May 29 00:59:05 2011	(r1322)
@@ -267,10 +267,8 @@
 
 	msg_cdbg("%s: id 0x%x\n", __func__, id2);
 
-	if (id2 != flash->model_id) {
-		msg_cdbg("\n");
+	if (id2 != flash->model_id)
 		return 0;
-	}
 
 	/* Print the status register to tell the
 	 * user about possible write protection.




More information about the flashrom mailing list