[PATCH] I8K: fix /proc reporting of blank service tags
authorDmitry Torokhov <dtor_core@ameritech.net>
Sat, 12 Nov 2005 05:55:15 +0000 (00:55 -0500)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 12 Nov 2005 19:42:32 +0000 (11:42 -0800)
commit4f005551a8fac21b6fec8d10d57cd12d373d79e1
treeda64987344a6d30a80a3bb8fe559ba42951d43b4
parent44e6f84e3597905816a0440e7218d2ed072120da
[PATCH] I8K: fix /proc reporting of blank service tags

Make /proc/i8k display '?' when service tag is blank in BIOS.
This fixes segfault in i8k gkrellm plugin.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/i8k.c