Messages in this thread | | | From | Arnd Bergmann <> | Subject | Re: [PATCH v2] regulator: s2mps11: Simplify expression used in BUILD_BUG_ON | Date | Thu, 18 Feb 2016 10:05:06 +0100 |
| |
On Thursday 18 February 2016 10:48:39 Krzysztof Kozlowski wrote: > > Sure, it can be safely removed from s2mps11_info... but it won't affect > this issue and this patch. Still the local variable would be used in > probe leading to compiler optimization choices impacting BUILD_BUG_ON.
A local variable probably works fine, I can test that if we think that would improve the code.
Arnd
| |