Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1485070
| From | Bartosz Golaszewski <bgolaszewski@baylibre.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] gpio: pca953x: fix an incorrect lockdep warning |
| Date | 2016-09-16 16:50 +0200 |
| Message-ID | <si2CK-608-15@gated-at.bofh.it> (permalink) |
| References | <si29H-5Pq-13@gated-at.bofh.it> <si2CK-608-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
2016-09-16 16:33 GMT+02:00 Peter Rosin <peda@axentia.se>: > > If this is to be fixed this even for crazy setups where the pattern is > repeated for more levels, you can look into drivers/i2c/i2c-core.c > i2c_adapter_depth() and how it's used (i.e. for this exact purpose). > Maybe it's time to export that function? > Hi Peter, thanks for the heads up. I was not aware of this function. Lockdep only allows us to specify up to 8 subclasses, but I can't possibly imagine a setup where more would be needed. I'll submit a series exporting this function and using it in pca953x. Best regards, Bartosz Golaszewski
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] gpio: pca953x: fix an incorrect lockdep warning Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-09-16 16:20 +0200 Re: [PATCH] gpio: pca953x: fix an incorrect lockdep warning Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-09-16 16:50 +0200 Re: [PATCH] gpio: pca953x: fix an incorrect lockdep warning Bartosz Golaszewski <bgolaszewski@baylibre.com> - 2016-09-16 18:10 +0200
csiph-web