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 E1234EB64DD for ; Tue, 25 Jul 2023 03:24:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231276AbjGYDYi (ORCPT ); Mon, 24 Jul 2023 23:24:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229527AbjGYDYe (ORCPT ); Mon, 24 Jul 2023 23:24:34 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 123F810FD for ; Mon, 24 Jul 2023 20:24:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1690255472; x=1721791472; h=date:from:to:cc:subject:message-id:mime-version; bh=qSMxqWxnfw1VlaarhARlRpDNyuQz7fliBgIx397u8v4=; b=Xh1INGhZzJqFctfcxEPmWICuwGfKdAGB3XtbQqBVOnHor4dj1HDJkONZ 8RTf5zFc2+qfusWblEpT5ydXgcafEQW4jC5sfytzdjytLPDZU4AxnwCeB dC6pZ/pQ7NyidRTqJIOGyr/8MDzhLoHzg/ZDK+3JVI0BqFsBdtkqZKKUp +In27H3RmVeM8P2OcXbOWToMMSr2+QYsRoC3pObhM+wAHgZu8Eqd2jd9H erT7Ss8GlEpz1jswu5Fv/kO5CGniccKAdlaCLX9vZrm3uph5KAWVWq8fe vFO8wPjfg+LemV5UsivzPkc7AtckT3KCoJmSVUDvna3EMN0wlTtFGOTjl g==; X-IronPort-AV: E=McAfee;i="6600,9927,10781"; a="347213241" X-IronPort-AV: E=Sophos;i="6.01,229,1684825200"; d="scan'208";a="347213241" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jul 2023 20:24:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10781"; a="729175680" X-IronPort-AV: E=Sophos;i="6.01,229,1684825200"; d="scan'208";a="729175680" Received: from lkp-server02.sh.intel.com (HELO 36946fcf73d7) ([10.239.97.151]) by fmsmga007.fm.intel.com with ESMTP; 24 Jul 2023 20:24:29 -0700 Received: from kbuild by 36946fcf73d7 with local (Exim 4.96) (envelope-from ) id 1qO8eq-000AGg-1J; Tue, 25 Jul 2023 03:24:22 +0000 Date: Tue, 25 Jul 2023 11:22:22 +0800 From: kernel test robot To: Keguang Zhang Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Daniel Lezcano Subject: drivers/clocksource/timer-loongson1-pwm.c:31:1: sparse: sparse: symbol 'ls1x_timer_lock' was not declared. Should it be static? Message-ID: <202307251129.FrFaFbwI-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0b5547c51827e053cc754db47d3ec3e6c2c451d2 commit: e738521a11f13e40af89f66527e59306c4169782 clocksource/drivers/loongson1: Move PWM timer to clocksource framework date: 5 weeks ago config: nios2-randconfig-r093-20230723 (https://download.01.org/0day-ci/archive/20230725/202307251129.FrFaFbwI-lkp@intel.com/config) compiler: nios2-linux-gcc (GCC) 12.3.0 reproduce: (https://download.01.org/0day-ci/archive/20230725/202307251129.FrFaFbwI-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/202307251129.FrFaFbwI-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) >> drivers/clocksource/timer-loongson1-pwm.c:31:1: sparse: sparse: symbol 'ls1x_timer_lock' was not declared. Should it be static? vim +/ls1x_timer_lock +31 drivers/clocksource/timer-loongson1-pwm.c 30 > 31 DEFINE_RAW_SPINLOCK(ls1x_timer_lock); 32 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki