Re: [PATCH 1/1] WATCHDOG: sbc_fitpc2_wdt, fix crash on systemswithout DMI_BOARD_NAME

From: Wim Van Sebroeck
Date: Thu Mar 03 2011 - 05:25:55 EST


Hi Jiri,

> Some systems don't provide DMI_BOARD_NAME in their DMI tables. Avoid
> crash in such situations in fitpc2_wdt_init.
>
> The fix is to check if the dmi_get_system_info return value is NULL.

Added to linux-2.6-watchdog-next. Will sent it over to Linus for inclusion in the mainline kernel in a couple of days.

Kind regards,
Wim.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/