From patchwork Mon Jan 30 13:55:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 50289 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2190562wrn; Mon, 30 Jan 2023 05:57:32 -0800 (PST) X-Google-Smtp-Source: AK7set8ofbJIEoENZmr5HnjhDB7Z8cfGT9JMyUJRUMKYgaBDbW0u1GBRjFcjlNBjJLmfs/7L5kya X-Received: by 2002:a50:d5c9:0:b0:4a2:472a:abbf with SMTP id g9-20020a50d5c9000000b004a2472aabbfmr3589835edj.38.1675087052686; Mon, 30 Jan 2023 05:57:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675087052; cv=none; d=google.com; s=arc-20160816; b=SS0iV7cAqQv4u2wxH2yNZOGU5sPY4FQZeWoBMhf6Cfy+bMyzk5bA+PXY/w2yYmaChY HauRiDr7VFGC+a01f7e0x/AxVRwuaApZ8yuuw/wKFD//j9Y/UJkLg6d5zxSjFwyhjjlx W8c4UjOEbUWto7cEHIZbbaMOLMLlixhI04HzwA46SwdMq6hOBS2lu3NlM8jW+UUJ8JnR +cVeR0UXgN4lOdEf5pWaQvSfvhrXelL0Vlu341J1qepdEJl4ebuDegBLDxFCqZmqCsDA VZRS9k2Cz4KCXRLo+IceEB7+/OaLSwDohFaxaxWKgB695TXQGZOFi9mdSh0okp0wTe/A Ap8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=L20b2xmc+K1kYap1tbvO9PsCOIfNrBIGZDSYtD8iL24=; b=s+9cEJvmXIA5ER2SRM6YXy0ZtTqaI8V7br8Z1sdn6vhJqwoMMuhK71CkuT6UC1bqN2 +F9KPNO18GboGxIEZ0VRhG+eueGt1hChqZUH5RjE3UGJ0cxV+VtYQKwcp12zaMAD8l1v J/qKbDNTcJIoYVfrJewdV1Gy0tbYvj8geJbhplXxZXFNxdNlnx4UVgfQaoyG3bH/ZQoE yotGIMcWYuPPMsfBuJId3FMk9qthnzF0sGkoay3GIgSRZ1wYDpLeQiWcgsEAaItZoBft 9RCFGrXnQfcrcnHStaODU6hxcsVji9CfysMOB77MZWA6oymCRDqQM3/3kSDk3mZNCuON PRaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="MEFZHE/+"; 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=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b2-20020aa7d482000000b0049db071cacasi14460470edr.349.2023.01.30.05.57.09; Mon, 30 Jan 2023 05:57:32 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b="MEFZHE/+"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230426AbjA3N4C (ORCPT + 99 others); Mon, 30 Jan 2023 08:56:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236520AbjA3N4A (ORCPT ); Mon, 30 Jan 2023 08:56:00 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF7AD2687E; Mon, 30 Jan 2023 05:55:59 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5DDCF6101C; Mon, 30 Jan 2023 13:55:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8874CC4339C; Mon, 30 Jan 2023 13:55:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1675086958; bh=y9yaGsBJyJnk9oOg0t489VBVoCspVBbyGiGa10xF4ZU=; h=From:To:Cc:Subject:Date:From; b=MEFZHE/+zj2CX02jrHkKpx3xI1YHnoZr4JZvoAtDMyDoAkGgKQO4y6B3EWs0Zitv8 +uKiEZWC6eA8IvK2ikXYV5otfCB81UBXNDhm9UPLyIv1olC+8GVDcSxwkSzTVKMuM1 rne9EotNzLGaRG1XhoYu46ZcU76iLqJQcqWp35bOnNpEFHUof9+fe5fGoQbA70wF0I fAPPaM/xnKJd0zAEwACeAJhYWE9VUfLC/sip+2NVBXMuqgwzqTAZDvJ6U6rGm4K6HQ gVoLILg19QdJu9BN9asKE7SdJuix967deniquLrBS2U4EkcwrWiyNoNfviprFZxwS2 CG+6xdR5vM5yw== From: Arnd Bergmann To: Bjorn Andersson , Andy Gross , Michael Turquette , Stephen Boyd , Dmitry Baryshkov , Konrad Dybcio Cc: Arnd Bergmann , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] clk: qcom: gcc-qcs404: fix duplicate initializer warning Date: Mon, 30 Jan 2023 14:55:47 +0100 Message-Id: <20230130135555.3268172-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756456081408595358?= X-GMAIL-MSGID: =?utf-8?q?1756456081408595358?= From: Arnd Bergmann In one of the clocks, a redundant initialization for .num_parents got left behind by a recent patch: drivers/clk/qcom/gcc-qcs404.c:63:32: error: initialized field overwritten [-Werror=override-init] 63 | .num_parents = 1, | ^ Fixes: 2ce81afa0c7c ("clk: qcom: gcc-qcs404: sort out the cxo clock") Signed-off-by: Arnd Bergmann Reviewed-by: Konrad Dybcio --- drivers/clk/qcom/gcc-qcs404.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clk/qcom/gcc-qcs404.c b/drivers/clk/qcom/gcc-qcs404.c index 5f58dd82d3fe..a39c4990b29d 100644 --- a/drivers/clk/qcom/gcc-qcs404.c +++ b/drivers/clk/qcom/gcc-qcs404.c @@ -60,7 +60,6 @@ static struct clk_fixed_factor cxo = { .name = "cxo", .parent_data = gcc_parent_data_1, .num_parents = ARRAY_SIZE(gcc_parent_data_1), - .num_parents = 1, .ops = &clk_fixed_factor_ops, }, };