[PATCH AUTOSEL for 4.4 015/101] Input: ar1021_i2c - fix too long name in driver's device table

2018-03-07 Thread Sasha Levin
From: Dmitry Torokhov [ Upstream commit 95123fc43560d6f4a60e74f72836e63cd8848f76 ] The name field in structure i2c_device_id is 20 characters, and we expect it to be NULL-terminated, however we are trying to stuff it with 21 bytes and thus NULL-terminator is lost.

[PATCH AUTOSEL for 4.4 015/101] Input: ar1021_i2c - fix too long name in driver's device table

2018-03-07 Thread Sasha Levin
From: Dmitry Torokhov [ Upstream commit 95123fc43560d6f4a60e74f72836e63cd8848f76 ] The name field in structure i2c_device_id is 20 characters, and we expect it to be NULL-terminated, however we are trying to stuff it with 21 bytes and thus NULL-terminator is lost. This causes issues when one