On Fri, 9 Jan 2015, Dan Carpenter wrote:

> This is a static checker fix.  We write some binary settings to the
> sysfs file.  One of the settings is the "->startup_profile".  There
> isn't any checking to make sure it fits into the
> pyra->profile_settings[] array in the profile_activated() function.
> 
> I added a check to pyra_sysfs_write_settings() in both places because
> I wasn't positive that the other callers were correct.
> 
> Signed-off-by: Dan Carpenter <dan.carpen...@oracle.com>

Applied to hid.git#for-3.19/upstream-fixes. Thanks,

-- 
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to