]> asedeno.scripts.mit.edu Git - linux.git/commit
i2c: gpio: fault-injector: add 'inject_panic' injector
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 19 Feb 2019 16:39:46 +0000 (17:39 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Sat, 23 Feb 2019 09:34:08 +0000 (10:34 +0100)
commitbb6bdd51c838e8d046a84502f12619de4fd58d69
tree45616a63ec1871c1ec0f7e22e9abd3c489a86ade
parent63e57b6f191db99ffdd0dc6c7b9ee6b2cf7abb04
i2c: gpio: fault-injector: add 'inject_panic' injector

Add a fault injector simulating a Kernel panic happening after starting
a transfer. Read the docs for its usage.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Documentation/i2c/gpio-fault-injection
drivers/i2c/busses/i2c-gpio.c