diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2016-09-16 18:02:44 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2016-09-24 10:50:00 +0200 |
commit | 2771dc34ddaa313127d6431f23ae4cea26b869b0 (patch) | |
tree | 94baef22dc81107ef9c081e75554dbe090474f67 /drivers/gpio | |
parent | a5ecddfe0bf82c92cc2e47385e287b21361a8d70 (diff) |
i2c: add a warning to i2c_adapter_depth()
This routine is only used together with lockdep for nested locking.
The number of lock subclasses is limited to 8 as defined in lockdep.h
Emit a warning if the adapter depth exceeds the maximum number of
lockdep subclasses.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Acked-by: Peter Rosin <peda@axentia.se>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions