From: Thibaut Varene Date: Fri, 5 May 2006 00:43:34 +0000 (-0600) Subject: [PARISC] Reduce data footprint in pdc_stable.c X-Git-Tag: v2.6.18-rc1~359^2~11 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0e8bfca2f6cdef6145e377ff0797fc42473b659;p=linux-2.6 [PARISC] Reduce data footprint in pdc_stable.c No code change - reduce data footprint. Signed-off-by: Thibaut VARENE Signed-off-by: Kyle McMartin --- diff --git a/drivers/parisc/pdc_stable.c b/drivers/parisc/pdc_stable.c index 4b991d50e5..a1094210cd 100644 --- a/drivers/parisc/pdc_stable.c +++ b/drivers/parisc/pdc_stable.c @@ -628,16 +628,16 @@ pdcs_osid_read(struct subsystem *entry, char *buf) return -EINVAL; switch (pdcs_osid) { - case 0x0000: tmpstr = "No OS-dependent data"; break; - case 0x0001: tmpstr = "HP-UX dependent data"; break; - case 0x0002: tmpstr = "MPE-iX dependent data"; break; - case 0x0003: tmpstr = "OSF dependent data"; break; - case 0x0004: tmpstr = "HP-RT dependent data"; break; - case 0x0005: tmpstr = "Novell Netware dependent data"; break; - case 0x0006: tmpstr = "Linux dependent data"; break; + case 0x0000: tmpstr = "No OS"; break; + case 0x0001: tmpstr = "HP-UX"; break; + case 0x0002: tmpstr = "MPE-iX"; break; + case 0x0003: tmpstr = "OSF"; break; + case 0x0004: tmpstr = "HP-RT"; break; + case 0x0005: tmpstr = "Novell Netware"; break; + case 0x0006: tmpstr = "Linux"; break; default: tmpstr = "Unknown"; break; } - out += sprintf(out, "%s (0x%.4x)\n", tmpstr, pdcs_osid); + out += sprintf(out, "%s dependent data (0x%.4x)\n", tmpstr, pdcs_osid); return out - buf; }