Re: [lm-sensors] [patch 1/5] hwmon: Convert fschmd to unlocked_ioctl

From: Arnd Bergmann
Date: Fri Nov 06 2009 - 08:37:58 EST


On Friday 06 November 2009, Hans de Goede wrote:
> Moving the ident struct to the data structure would have it needlessly
> using RAM all the time, the best and simplest fix for this is to simply
> stop declaring ident static inside the ioctl function.

Ok. Considering the case of multiple watchdogs in the system, that seems
best then. Of course, the watchdog infrastructure does not allow this
right now, but it may be added at some point.

Arnd <><
--
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/