From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E3481C433E0 for ; Thu, 9 Jul 2020 07:09:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CD3CF2070E for ; Thu, 9 Jul 2020 07:09:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726194AbgGIHJe (ORCPT ); Thu, 9 Jul 2020 03:09:34 -0400 Received: from foss.arm.com ([217.140.110.172]:38520 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726183AbgGIHJe (ORCPT ); Thu, 9 Jul 2020 03:09:34 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D55551FB; Thu, 9 Jul 2020 00:09:33 -0700 (PDT) Received: from bogus (unknown [10.37.8.63]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 72E753F71E; Thu, 9 Jul 2020 00:09:32 -0700 (PDT) Date: Thu, 9 Jul 2020 08:09:29 +0100 From: Sudeep Holla To: Stephen Rothwell Cc: Linux Next Mailing List , Linux Kernel Mailing List , Sudeep Holla Subject: Re: linux-next: build warning after merge of the scmi tree Message-ID: <20200709070929.GE31671@bogus> References: <20200709095412.051d96ef@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200709095412.051d96ef@canb.auug.org.au> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-next-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org On Thu, Jul 09, 2020 at 09:54:12AM +1000, Stephen Rothwell wrote: > Hi all, > > After merging the scmi tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > drivers/firmware/arm_scmi/clock.c: In function 'rate_cmp_func': > drivers/firmware/arm_scmi/clock.c:128:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] > 128 | u64 *r1 = _r1, *r2 = _r2; > | ^~~ > drivers/firmware/arm_scmi/clock.c:128:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] > 128 | u64 *r1 = _r1, *r2 = _r2; > | ^~~ > > Introduced by commit > > f0a2500a2a05 ("firmware: arm_scmi: Keep the discrete clock rates sorted") > Sorry for both the issues, I will update the tree with proper patch. -- Regards, Sudeep