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


Groups > linux.kernel > #1166396

Re: [PATCH] regulator: qcom_spmi: Add missing braces for aligned code

From Andy Gross <agross@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [PATCH] regulator: qcom_spmi: Add missing braces for aligned code
Date 2015-06-16 22:40 +0200
Message-ID <pC5Oj-4ZG-67@gated-at.bofh.it> (permalink)
References <pC3CO-1R2-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Jun 16, 2015 at 11:11:22AM -0700, Stephen Boyd wrote:
> drivers/regulator/qcom_spmi-regulator.c:751:3-50: code aligned
> with following code on line 753
> drivers/regulator/qcom_spmi-regulator.c:584:3-41: code aligned
> with following code on line 587
> 
> These lines where missing braces causing the break to always
> be executed even when it shouldn't be. Fix it.
> 
> Reported-by: kbuild test robot <fengguang.wu@intel.com>
> Cc: Julia Lawall <julia.lawall@lip6.fr>
> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>

Reviewed-by: Andy Gross <agross@codeaurora.org>

-- 
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

[PATCH] regulator: qcom_spmi: Add missing braces for aligned code Stephen Boyd <sboyd@codeaurora.org> - 2015-06-16 20:20 +0200
  Re: [PATCH] regulator: qcom_spmi: Add missing braces for aligned code Andy Gross <agross@codeaurora.org> - 2015-06-16 22:40 +0200

csiph-web