Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1337176

Re: [PATCH v2] regulator: s2mps11: Simplify expression used in BUILD_BUG_ON

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [PATCH v2] regulator: s2mps11: Simplify expression used in BUILD_BUG_ON
Date 2016-02-18 10:10 +0100
Message-ID <r3sL0-3kd-11@gated-at.bofh.it> (permalink)
References <r3kNs-5NL-9@gated-at.bofh.it> <r3lTc-6Da-3@gated-at.bofh.it> <r3lTc-6Da-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2] regulator: s2mps11: Simplify expression used in BUILD_BUG_ON Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-02-18 01:40 +0100
  Re: [PATCH v2] regulator: s2mps11: Simplify expression used in  BUILD_BUG_ON Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-02-18 02:40 +0100
    Re: [PATCH v2] regulator: s2mps11: Simplify expression used in  BUILD_BUG_ON Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-02-18 02:50 +0100
      Re: [PATCH v2] regulator: s2mps11: Simplify expression used in BUILD_BUG_ON Arnd Bergmann <arnd@arndb.de> - 2016-02-18 10:10 +0100
    Re: [PATCH v2] regulator: s2mps11: Simplify expression used in  BUILD_BUG_ON Andi Shyti <andi.shyti@samsung.com> - 2016-02-18 02:50 +0100
  Re: [PATCH v2] regulator: s2mps11: Simplify expression used in  BUILD_BUG_ON Andi Shyti <andi.shyti@samsung.com> - 2016-02-18 02:40 +0100
  Re: [PATCH v2] regulator: s2mps11: Simplify expression used in BUILD_BUG_ON Arnd Bergmann <arnd@arndb.de> - 2016-02-18 10:10 +0100

csiph-web