Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1789818ybm; Thu, 23 May 2019 06:50:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqwuaOkD1XEcDqy4zPVcuaqF5NuJNNak58hnHBb3eyN1MdQvMA/GtzJP1EI9dfU/uzsWnrTg X-Received: by 2002:a17:902:704a:: with SMTP id h10mr8696186plt.294.1558619445510; Thu, 23 May 2019 06:50:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558619445; cv=none; d=google.com; s=arc-20160816; b=tEYmm4CuMIhhFdxCcJ9/pSz7unwAIpBsPki1LOLS0uIISYbzaY1GuYq4kIOE4AQRFF YlkXp4YPuDhKxm5Erh0xenxHI+Ii1f3Imh1Qeg/YrfvC+usy+Iq851GxRcY73Z8IbCBX WQe7OSkT24ekGH+s1Gxo0mOIGnlbUkILRjmp0tE2X8rea+iPzrVgwXV4eito17qVbjsE pCpkyvt9ItX+hATSHgswY2HYMyJaxKNTaO/vwEvwYHC8NEXl5hobZAqccyI50hRTjcik 4LsTS+VSINPJ8ZidW0lxIJ1T8R1WkwHXGIxXDL4lOZJFMkBC2yL0prQkkdN6jPjoGzlX tejQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:in-reply-to:subject:cc:to :from:dkim-signature; bh=MCSWTU3HxFj7ynCJyIZdDmGSO9hu5ixRfcDvdzVnf34=; b=cNbKusAbB5LbYRv8n7TVacz+UtjBK07d+FGues+in3bLhE33jr6WAHJiZp1yBRvNcP 7UJc1ZJ3PA1E+/oMQgira+jFlmq/1VRDM8bA5OdQJnaLlzMpEC+YiKS9MCquRegsaLVL GvpT7hMEZ5UhBeEaiuJwuoCuCTYaf6MwyjQUH4h+i7lhs/Fg+WhbeIDYLi8Mw1tppm6U sFVWgWpNfRBKOoH5nowx7Gmy5Wa1T97N88TqVKfvhm5K7bIdLjdnyHXjahcP+2xn0qOn W/NdJzOBSFyUkfSJ9Gd0FzjZDlEQ9VhM8fuH8fmBtb6yBkxyLJWP97C4HTx98d3MNYWM suww== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b="a+E0ZHt/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t4si30675315plb.11.2019.05.23.06.50.29; Thu, 23 May 2019 06:50:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b="a+E0ZHt/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730950AbfEWNtN (ORCPT + 99 others); Thu, 23 May 2019 09:49:13 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:44998 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730710AbfEWNtH (ORCPT ); Thu, 23 May 2019 09:49:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=Date:Message-Id:In-Reply-To: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:References: List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner: List-Archive; bh=MCSWTU3HxFj7ynCJyIZdDmGSO9hu5ixRfcDvdzVnf34=; b=a+E0ZHt/fXbn lCvmlFivZVYX1dmo3XRpgxSX2WXbiFCdvG1KoIZ1RXyWGryFmf4yej1O4OMtCQP/5hwHRRmUI+HNg celWngwwaX5CEBr7keOncz/tt2l8oVKM/IB6HEqFlspaQBw1uHVMZ4AHsnfhCY10QxR+J4AiwowoX 8/01o=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=debutante.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpa (Exim 4.89) (envelope-from ) id 1hTo5d-0000Eb-F9; Thu, 23 May 2019 13:49:01 +0000 Received: by debutante.sirena.org.uk (Postfix, from userid 1000) id C757C1126D24; Thu, 23 May 2019 14:48:59 +0100 (BST) From: Mark Brown To: Nathan Chancellor Cc: Axel Lin , Bartosz Golaszewski , clang-built-linux@googlegroups.com, Liam Girdwood , linux-kernel@vger.kernel.org, Mark Brown , Nick Desaulniers Subject: Applied "regulator: max77650: Move max77651_SBB1_desc's declaration down" to the regulator tree In-Reply-To: <20190523012629.7707-1-natechancellor@gmail.com> X-Patchwork-Hint: ignore Message-Id: <20190523134859.C757C1126D24@debutante.sirena.org.uk> Date: Thu, 23 May 2019 14:48:59 +0100 (BST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The patch regulator: max77650: Move max77651_SBB1_desc's declaration down has been applied to the regulator tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-5.3 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark From 59dec1f0fac8107f3bffaa0051afce795e24c3e4 Mon Sep 17 00:00:00 2001 From: Nathan Chancellor Date: Wed, 22 May 2019 18:26:29 -0700 Subject: [PATCH] regulator: max77650: Move max77651_SBB1_desc's declaration down Clang warns: drivers/regulator/max77650-regulator.c:32:39: warning: tentative definition of variable with internal linkage has incomplete non-array type 'struct max77650_regulator_desc' [-Wtentative-definition-incomplete-type] static struct max77650_regulator_desc max77651_SBB1_desc; ^ drivers/regulator/max77650-regulator.c:32:15: note: forward declaration of 'struct max77650_regulator_desc' static struct max77650_regulator_desc max77651_SBB1_desc; ^ 1 warning generated. Move max77651_SBB1_desc's declaration below max77650_regulator_desc's definition so this warning does not happen. Fixes: 3df4235ac41c ("regulator: max77650: Convert MAX77651 SBB1 to pickable linear range") Link: https://github.com/ClangBuiltLinux/linux/issues/491 Signed-off-by: Nathan Chancellor Reviewed-by: Axel Lin Signed-off-by: Mark Brown --- drivers/regulator/max77650-regulator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/max77650-regulator.c b/drivers/regulator/max77650-regulator.c index ecf8cf7aad20..e3b28fc68cdb 100644 --- a/drivers/regulator/max77650-regulator.c +++ b/drivers/regulator/max77650-regulator.c @@ -29,8 +29,6 @@ #define MAX77650_REGULATOR_CURR_LIM_MASK GENMASK(7, 6) -static struct max77650_regulator_desc max77651_SBB1_desc; - enum { MAX77650_REGULATOR_ID_LDO = 0, MAX77650_REGULATOR_ID_SBB0, @@ -45,6 +43,8 @@ struct max77650_regulator_desc { unsigned int regB; }; +static struct max77650_regulator_desc max77651_SBB1_desc; + static const unsigned int max77651_sbb1_volt_range_sel[] = { 0x0, 0x1, 0x2, 0x3 }; -- 2.20.1