-
由 Guenter Roeck 提交于
smatch complains about a potential out-of-bounds access to the temp_offset array. That doesn't happen in practice, but it doesn't hurt to add an explicit check either. This prevents potential problems in the future (for example if the number of 'fixed' temperature sensors is increased to add support for another chip). Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
45a5b3a1