[IA64] Take defensive stance on ia64_pal_get_brand_info()

Stephane thought he saw a problem here (but was just confused
by the return value from ia64_pal_get_brand_info()). But we
should be more defensive here in case an prototype PAL for
a future processor doesn't implement this PAL call.

Signed-off-by: Tony Luck <tony.luck@intel.com>

Tony Luck 75f6a1de a460ef8d

+2 -2
+2 -2
arch/ia64/kernel/setup.c
··· 674 674 { 675 675 char brand[128]; 676 676 677 + memcpy(brand, "Unknown", 8); 677 678 if (ia64_pal_get_brand_info(brand)) { 678 679 if (family == 0x7) 679 680 memcpy(brand, "Merced", 7); ··· 682 681 case 0: memcpy(brand, "McKinley", 9); break; 683 682 case 1: memcpy(brand, "Madison", 8); break; 684 683 case 2: memcpy(brand, "Madison up to 9M cache", 23); break; 685 - } else 686 - memcpy(brand, "Unknown", 8); 684 + } 687 685 } 688 686 if (brandname[0] == '\0') 689 687 return strcpy(brandname, brand);