Files
linux/drivers
Andy Shevchenko 993eb48fa1 i2c: dev: check return value when calling dev_set_name()
If dev_set_name() fails, the dev_name() is null, check the return
value of dev_set_name() to avoid the null-ptr-deref.

Fixes: 1413ef638a ("i2c: dev: Fix the race between the release of i2c_dev and cdev")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
2022-04-15 23:23:22 +02:00
..
2022-04-08 19:50:44 +02:00
2022-04-06 13:07:53 -06:00
2022-04-06 08:47:52 -06:00
2022-03-30 16:17:54 -07:00
2022-04-08 12:59:43 -07:00
2022-04-04 17:03:04 +02:00
2022-03-27 22:18:39 +02:00
2022-03-18 19:00:26 +01:00