Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp2794490rwb; Mon, 7 Aug 2023 03:46:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH7JK2xXabXIi8GVQPCDd9tezxLpsqCRYBjMlsBHZCKvS0YK3nQXVI5CNKq/5QiazGQNMys X-Received: by 2002:a05:6a20:3d0a:b0:131:c760:2a0b with SMTP id y10-20020a056a203d0a00b00131c7602a0bmr13280047pzi.52.1691405185139; Mon, 07 Aug 2023 03:46:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691405185; cv=none; d=google.com; s=arc-20160816; b=Qnsoi6UCiJr2UK3zNINfewZYYD7K/7hOR4pPEKWpXuJkiCF572s8IHoFjbMwa0NHop p59ho8JNapfDVm1K9LfW06OyflkWfsoEa+UJALN74sMEm7Ma6A1Nl8OKdnnIsJuuFJ+Z rUDgtnUMXKKhaE9GctfMydZcJ+zx0GP5QDfV5tcqIbXNvhVd0WBJmjuksJPj4/b2EkWG HNqjmvNw/D4voL8qIDg+I4VBgierzQrSXKNfXqxdVuwLeoBTP2kqbnJoD2pv48byEgqw ifFsK+OQkNL7DGFPKcxxHG3uow7ZPRweDZAKU2v8f5Y90tPKI1LSvBUYb+aXysRCLVkW hPxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=+LnORt0w2WaBBTXxnGuGRnHMAouDS1iv7SlCa9HMty8=; fh=JBFRsXW0u3DXa0lk9Riz4nh1OxQz/CHNJDaQJZFBKes=; b=UyNVOwuoLiLbAl9n6SkJxhhaVwKMRG+F5TdfZANZ81C9MHjDjvW9Kb+LzfXepAOQwT a3F+STtwTL1L8OFAPFjGugqj3M5dYhbfOfPY8Jq9v4RtTWpk7FjF5RkY6PmFQZdh0qmr L7sUmL1Ykh0WOwqBelhkNXvlJA1AsooG1RgCRZV9mUuVasMwzVxDk5dTFp08tV3fRQph X+AXuyNIiDvZwal/N9ZnkvKdYJ5iILoD9hXYNazq4T/sLj7kA2b50HAY3hJvM+Bs/DDp 7HRlekT3N3M1l55Hfn7SDQIH0+0NbZU05IuREjXJPbLbDp3QRu67OeG2lTMm3DjNBMvw lyMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YnHh0CSr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d187-20020a6336c4000000b0056482047ae2si3082090pga.269.2023.08.07.03.46.13; Mon, 07 Aug 2023 03:46:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YnHh0CSr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231447AbjHGJDX (ORCPT + 99 others); Mon, 7 Aug 2023 05:03:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229776AbjHGJDG (ORCPT ); Mon, 7 Aug 2023 05:03:06 -0400 Received: from mail-yb1-xb2b.google.com (mail-yb1-xb2b.google.com [IPv6:2607:f8b0:4864:20::b2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 86B202D45 for ; Mon, 7 Aug 2023 02:02:29 -0700 (PDT) Received: by mail-yb1-xb2b.google.com with SMTP id 3f1490d57ef6-d0548cf861aso4536417276.3 for ; Mon, 07 Aug 2023 02:02:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691398936; x=1692003736; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=+LnORt0w2WaBBTXxnGuGRnHMAouDS1iv7SlCa9HMty8=; b=YnHh0CSrVsRhnZQ8IR9haybhkmEtN4T5+9MeOfpwVrIfnHAhvav9BGGn26woWf43j/ pBcfeXh+zb+KA5QDK3qtQwxl93pOLX2KlDB5DGhhXmZCpHYjF3t9Ok3wDVTnqeEeSyqD urG+PUkn2FIML1zPiPT/Y0iVcVWnSoEKLW2DkE6OiJV0WTMj/RHCCQM7yL/1+gCzrQuu U+s6H1Ml5QaINxbPyZmpy3cc3kuYKPyh08bV7MF0gCJUzAgoujux3kfBaATktbeIh2e1 AkqLB8zqKPNrIWf34bcSvZuuW6L0hICBvX93PcB9mZswWpwysE7Dycr/QL17cDl3fxvK N7Rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691398936; x=1692003736; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+LnORt0w2WaBBTXxnGuGRnHMAouDS1iv7SlCa9HMty8=; b=YXSe1dX5xvmVe5Jhdw9hw15ddvXL2ZzbeQ2cRGqZYwRGIwQC+HV7f/anE6CQ8FcXYn GOfD+FJFklfj4tjkrMdixCtqSnQlgKksT2DbKRRfCIACZR0gVPeCOkFHXO1NopCZpZNH l72qyTMGMMUa4UMdKwLQlrhOGy0WpiI2Sq+vZc7Wa2GxFJ6RUVz0EzF0vF1y1mQd/wIq ZrOEHUpMwhUF1ohu29NAGfT+d0Xy9NLX84s1l417XzaFlysirpsWo8U0C4/OdAT2n7LN rVtobXrg4VNMjALJ49TiZbjX1Wh8kJdVkNglwU26BKRcBS6Qf83n8nacqWFd7ELNAlcW PGkA== X-Gm-Message-State: AOJu0YwA9uxKJXKJ5h9a/QW1GSrZDLPnidNrqCw3v6HkqH5Oyd84KZ3+ i95nh/MOsbNfP9ydH8/XsqveGFjX0vsrPYhGM2RbRA== X-Received: by 2002:a5b:20e:0:b0:d07:5b87:ec56 with SMTP id z14-20020a5b020e000000b00d075b87ec56mr6801980ybl.14.1691398936634; Mon, 07 Aug 2023 02:02:16 -0700 (PDT) MIME-Version: 1.0 References: <1689934361-32642-1-git-send-email-quic_srichara@quicinc.com> In-Reply-To: <1689934361-32642-1-git-send-email-quic_srichara@quicinc.com> From: Linus Walleij Date: Mon, 7 Aug 2023 11:02:05 +0200 Message-ID: Subject: Re: [PATCH] pinctrl: qcom: Remove the unused _groups variable build warning To: Sricharan Ramabadhran Cc: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, quic_varada@quicinc.com, linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 21, 2023 at 12:13=E2=80=AFPM Sricharan Ramabadhran wrote: > When building with clang toolchain and arm64-randconfig-r015-20230712 > kernel test robot reports the below warning. > > drivers/pinctrl/qcom/pinctrl-ipq5018.c:244:27: warning: unused variable = '_groups' [-Wunused-const-variable] > static const char * const _groups[] =3D { > ^ > 1 warning generated. > > static const char * const _groups[] =3D { > "gpio0", "gpio1", "gpio2", "gpio3", "gpio4", "gpio5", "gpio6= ", "gpio7", > "gpio8", "gpio9", "gpio10", "gpio11", "gpio12", "gpio13", "g= pio14", > "gpio15", "gpio16", "gpio17", "gpio18", "gpio19", "gpio20", = "gpio21", > "gpio22", "gpio23", "gpio24", "gpio25", "gpio26", "gpio27", = "gpio28", > "gpio29", "gpio30", "gpio31", "gpio32", "gpio33", "gpio34", = "gpio35", > "gpio36", "gpio37", "gpio38", "gpio39", "gpio40", "gpio41", = "gpio42", > "gpio43", "gpio44", "gpio45", "gpio46", > }; > > Fixing it by removing the variable. > > Reported-by: kernel test robot > Closes: https://lore.kernel.org/oe-kbuild-all/202307120814.vWPY6URk-lkp@i= ntel.com/ > Fixes: 725d1c891658 ("pinctrl: qcom: Add IPQ5018 pinctrl driver") > Signed-off-by: Sricharan Ramabadhran Patch applied, thanks for fixing this! Yours, Linus Walleij