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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5C1A3C38A2D for ; Mon, 24 Oct 2022 05:30:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229738AbiJXFao (ORCPT ); Mon, 24 Oct 2022 01:30:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229631AbiJXFal (ORCPT ); Mon, 24 Oct 2022 01:30:41 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4B2295FC31 for ; Sun, 23 Oct 2022 22:30:40 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id CA5FA822A; Mon, 24 Oct 2022 05:21:25 +0000 (UTC) Date: Mon, 24 Oct 2022 08:30:38 +0300 From: Tony Lindgren To: kernel test robot Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Daniel Lezcano Subject: Re: drivers/clocksource/timer-ti-dm.c:1039:34: warning: 'omap_timer_match' defined but not used Message-ID: References: <202210171928.H90N0pmu-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202210171928.H90N0pmu-lkp@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * kernel test robot [221017 11:39]: > Hi Tony, > > First bad commit (maybe != root cause): > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: 9abf2313adc1ca1b6180c508c25f22f9395cc780 > commit: ab0bbef3ae0f6b5a3b60671cd0124d0fc4fc2567 clocksource/drivers/timer-ti-dm: Make timer selectable for ARCH_K3 > date: 3 months ago > config: x86_64-buildonly-randconfig-r006-20221017 > compiler: gcc-11 (Debian 11.3.0-8) 11.3.0 > reproduce (this is a W=1 build): > # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ab0bbef3ae0f6b5a3b60671cd0124d0fc4fc2567 > git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > git fetch --no-tags linus master > git checkout ab0bbef3ae0f6b5a3b60671cd0124d0fc4fc2567 > # save the config file > mkdir build_dir && cp config build_dir/.config > make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/clocksource/ > > If you fix the issue, kindly add following tag where applicable > | Reported-by: kernel test robot > > All warnings (new ones prefixed by >>): > > >> drivers/clocksource/timer-ti-dm.c:1039:34: warning: 'omap_timer_match' defined but not used [-Wunused-const-variable=] > 1039 | static const struct of_device_id omap_timer_match[] = { > | ^~~~~~~~~~~~~~~~ Seems like dropping of_match_ptr() is the way to go here. Regards, Tony