From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9BD5128D8E8 for ; Thu, 8 Jan 2026 23:18:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767914286; cv=none; b=mSPE1ZtDi5unXPq8VYPQ5z3LKad4KJPqoeJGh+n3EPlglwBIQrz3nJkg6pMVE5rPWfuE3GxBObsW+vFNzCM3zIf0u2LJr2d2Jk7RIr2yATyJZUAbZ4xMRiQMzLUbx9ASZS/2A3DcPXSppvwoqGKPUrcPiUhmy4nEIMalEE9/0jw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767914286; c=relaxed/simple; bh=NTPOJkiysZJtVEyt4iEXQb3heX+UVL0KUCdqfCPolZU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=AQVmZVuyVt39/t/BrKZn05QrVnNicrcDPdIKBXfAyVJVw7S85IVMhShQykbXWSk2WUjHAfHGU1tjoGyqYu4cJ1u49m/sP9CRc1bV4zzV1Lkc/M2s7PEroR3807SJVSVvW1OqpJTEMZYkAnHrV3sXclgZYAPYqOGUSG07za92vs0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=dnhv0hoG; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=cHE7bG22; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="dnhv0hoG"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="cHE7bG22" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1767914282; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=XmkhR6d23VB+MBS3bmm1gqOxsKykbeYeimHuXpLEvDc=; b=dnhv0hoGDFBELj0v00vBBo33LfeSAiYg2rN2s/kEPh7rNQU+n5grwTSRvFI9NUl3D3tKZH DfceCpGIk2gw6RkRypOT62pvN0tx4vWLMmh7AaK07IpjUzFkkIabCwpqvZUESwCT+r9shI ucrKh1GS5TzXkGZEtGPpESOPVsF3NHE= Received: from mail-qv1-f72.google.com (mail-qv1-f72.google.com [209.85.219.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-677-d5wPtsIDNbC506fZXla9HA-1; Thu, 08 Jan 2026 18:18:01 -0500 X-MC-Unique: d5wPtsIDNbC506fZXla9HA-1 X-Mimecast-MFC-AGG-ID: d5wPtsIDNbC506fZXla9HA_1767914281 Received: by mail-qv1-f72.google.com with SMTP id 6a1803df08f44-88051c72070so81343006d6.1 for ; Thu, 08 Jan 2026 15:18:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1767914281; x=1768519081; darn=vger.kernel.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=XmkhR6d23VB+MBS3bmm1gqOxsKykbeYeimHuXpLEvDc=; b=cHE7bG223KSJ5jO91UR2yzSlPXR5LARF535hjZq3FV3GEXluLK649fS6fWBYYMuX9z JEve4GuLU34U07tpjpTsx6UuCcvwjS9W9GbHH13qUvaE8M6p77pXshcOSXWtqsMyyKsC ytjfUV9XwNOghlWD69L9pr/5rfRi3mBUmkyDpFY3EU22xtHlOUcLSBhSDnAORgrMh7RG asEUd6DnkA9miYiQJlimHVZfgCmkmoViFc5VTx4p1mg7HBvb6agHBR7RVLyJ7cyNwy5j 5om22eWNxLe1BVs88Ybfwdp8fNyqteEyZkTIDrpFUtWbggaybYNMqlSyTBzbbnfa8WRy 5g4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767914281; x=1768519081; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=XmkhR6d23VB+MBS3bmm1gqOxsKykbeYeimHuXpLEvDc=; b=Yto8b9I+VkLOiMcDtDmoFPGpFOOeR4yu08SCFA3h07S6KhDGfuZxD4WP2HpEO8Fd0v NrpOjHMFS9iyWvl6MX8Tk67I7E2NUGjYKLroji3x7dpSNTOs4d57JarI3DTgqAbmLg1W M17mWVjJSXy7cihHuiscx4cqZc/opbtKo8YqeTuLxL5h7Bjuq46FRiFCPAMkBbbT+1Ya St1+XvY8XASkmAImRn6Mn2kMtyJZMZe6tEnZaIW44a0tlhjuk5FDjOTUiYySKGsLf1aI CZjj/I3vwR4IpU+WlH5MeBUw9mG1PnDae6GAPmWIYVyNHwK5ojdMuYTQfNZ1K4u19YQ7 2Dsw== X-Forwarded-Encrypted: i=1; AJvYcCVTLwquk5QRV0/90tF73Vy32OL950d+l4nSELOibQ6owCwakZIl4kxQk3yL1TMhHlI89lub1Ho6+tqoqQQ=@vger.kernel.org X-Gm-Message-State: AOJu0YwuZUWRPzUrJrKembBYoR9cpMCHYjCi4h7Ho9Jgvh8VL0b/exSb CWF+aVw84FPsJwHx+utFvXBKLFEwyeAkPTriOJAMquyXzrN76qQlhR/tgWoEfkV7BjH0I6SX0gc TLgPPU/vYozzZ7v+sb4rsENlVMglU83qDVQSUBZQYmbWLd7Q0VMQF6DQ8p7nwaNLKYQ== X-Gm-Gg: AY/fxX6ln0HlnttefYxi2m1c7SFYFkw/XbDSViL/o4qe+qGOv7Sp/dhZsYRTxqCubXc +hYB238Z7wGMWYziGMtglonmuiUdsoFfjwijGPW+lbc/nj6CQNB+TlsJOt9GHBbISgbD7yUSEfO i6l6GZWSxJhwLBySHRHnNQKdXGTraPDgqswDdpsH2SsPvrPCx/xHhQVyVY7yrNUKvtzRbMGC8Pp a2bhltQdL8lfSjuvl90mEuLaCEgswS75zaXgM9GSmA2/CY0+u+I2L5BGt65sYBwHhqow1IKyrFc /TBqoyxXFUf4tU4xXKcZSHIB3JD/yxPutJGBZyrOEY2+5x7jeg+E1xi0WHyW+qFStHo8a7VM5UD GgmEo0DE= X-Received: by 2002:ad4:5aed:0:b0:88a:589b:5dad with SMTP id 6a1803df08f44-890841b430bmr111176946d6.27.1767914280801; Thu, 08 Jan 2026 15:18:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IGiAMx2ilPAG+6O2GSLEnHORK3xHLY/Vgkrq55ZG7qozx5/LKhCSFXT6oYJmD7gtqTSNdJ6Qw== X-Received: by 2002:ad4:5aed:0:b0:88a:589b:5dad with SMTP id 6a1803df08f44-890841b430bmr111176656d6.27.1767914280404; Thu, 08 Jan 2026 15:18:00 -0800 (PST) Received: from redhat.com ([2600:382:850d:c75b:2aa0:b08c:d81b:f52]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-890770cc7eesm62576156d6.2.2026.01.08.15.17.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Jan 2026 15:17:59 -0800 (PST) Date: Thu, 8 Jan 2026 18:17:58 -0500 From: Brian Masney To: kernel test robot Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Stephen Boyd , linux-clk@vger.kernel.org Subject: Re: drivers/clk/microchip/clk-core.c:915:10: sparse: sparse: Initializer entry defined twice Message-ID: References: <202601070531.yJ4x70yl-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202601070531.yJ4x70yl-lkp@intel.com> User-Agent: Mutt/2.2.14 (2025-02-20) On Wed, Jan 07, 2026 at 05:52:23AM +0800, kernel test robot wrote: > Hi Brian, > > First bad commit (maybe != root cause): > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: f0b9d8eb98dfee8d00419aa07543bdc2c1a44fb1 > commit: 7d85cd8730ab7701a1cafd0db0d7b6b1f6cfbb91 clk: microchip: core: remove duplicate roclk_determine_rate() > date: 3 months ago > config: mips-randconfig-r113-20260106 (https://download.01.org/0day-ci/archive/20260107/202601070531.yJ4x70yl-lkp@intel.com/config) > compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 9b8addffa70cee5b2acc5454712d9cf78ce45710) > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260107/202601070531.yJ4x70yl-lkp@intel.com/reproduce) > > If you fix the issue in a separate patch/commit (i.e. not just a new version of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot > | Closes: https://lore.kernel.org/oe-kbuild-all/202601070531.yJ4x70yl-lkp@intel.com/ > > sparse warnings: (new ones prefixed by >>) > >> drivers/clk/microchip/clk-core.c:915:10: sparse: sparse: Initializer entry defined twice > drivers/clk/microchip/clk-core.c:919:10: sparse: also defined here > > vim +915 drivers/clk/microchip/clk-core.c > > ce6e1188465998 Purna Chandra Mandal 2016-05-13 910 > ce6e1188465998 Purna Chandra Mandal 2016-05-13 911 /* sclk with post-divider */ > ce6e1188465998 Purna Chandra Mandal 2016-05-13 912 const struct clk_ops pic32_sclk_ops = { > ce6e1188465998 Purna Chandra Mandal 2016-05-13 913 .get_parent = sclk_get_parent, > ce6e1188465998 Purna Chandra Mandal 2016-05-13 914 .set_parent = sclk_set_parent, > e9f039c08cdc9b Brian Masney 2025-08-11 @915 .determine_rate = sclk_determine_rate, > ce6e1188465998 Purna Chandra Mandal 2016-05-13 916 .set_rate = sclk_set_rate, > ce6e1188465998 Purna Chandra Mandal 2016-05-13 917 .recalc_rate = sclk_get_rate, > ce6e1188465998 Purna Chandra Mandal 2016-05-13 918 .init = sclk_init, > ce6e1188465998 Purna Chandra Mandal 2016-05-13 919 .determine_rate = __clk_mux_determine_rate, > ce6e1188465998 Purna Chandra Mandal 2016-05-13 920 }; > ce6e1188465998 Purna Chandra Mandal 2016-05-13 921 > > :::::: The code at line 915 was first introduced by commit > :::::: e9f039c08cdc9b38665aee9a88ae21f59c09ba8c clk: microchip: core: convert from round_rate() to determine_rate() > > :::::: TO: Brian Masney > :::::: CC: Brian Masney I posted a series last month to fix this issue. https://lore.kernel.org/linux-clk/aWA6rNLNqYfJKTzf@redhat.com/T/#t Brian