From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) (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 283851FD1 for ; Tue, 25 Jul 2023 03:24:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1690255474; x=1721791474; h=date:from:to:cc:subject:message-id:mime-version; bh=qSMxqWxnfw1VlaarhARlRpDNyuQz7fliBgIx397u8v4=; b=ANP6QLmhZNKgTSUNmIYYKEFzm9fMYsLQ4bBv2zNqtImP2nrDBE6Xv3ks wjW7WkGxkQnAGHPJYVvnc5dv/SSfBZSjGxx+vUx+WnBRgYijRLYvY/KUZ yPK3LHqYtHigKAbI3OzUg0T2vJNOibsxaytCbJdunG8bEY5lapKtDWpXJ rj0xD04iucGo4zM+lJLcm16yWSZaL5Yi6kV19uxpAJy+FSrZMSFVe6nqM ackhLPMB+YdRvJ+ykB5z08gqHUEgYs8KDD7+oEyfi4egceCeR29oQ5ErE t9uN2w0wwfirFLG9okfW/mEV1MobuZTbggN4uUfsrPujgtHXDMVxQlOIG w==; X-IronPort-AV: E=McAfee;i="6600,9927,10781"; a="347213243" X-IronPort-AV: E=Sophos;i="6.01,229,1684825200"; d="scan'208";a="347213243" 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> Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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