RE: [PATCH] - Fix get_model_name() for mixed cpu type systems

From: Luck, Tony <tony.luck_at_intel.com>
Date: 2006-10-19 10:03:30
+	for (i = 0; i < MAX_BRANDS; i++)
+		if (brandname[i][0] == '\0')
+			return strcpy(brandname[i], brand);
+	BUG();

BUG seems a bit drastic ... the brandname is just an informational
thing that shows in /proc/cpuinfo (and seems hard to parse ... so
unlikely to be used much.

-Tony
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Oct 19 10:03:43 2006

This archive was generated by hypermail 2.1.8 : 2006-10-19 10:03:56 EST