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=-7.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham 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 9EAA3C2BA83 for ; Sun, 9 Feb 2020 20:51:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7C92720733 for ; Sun, 9 Feb 2020 20:51:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727866AbgBIUvd (ORCPT ); Sun, 9 Feb 2020 15:51:33 -0500 Received: from mga02.intel.com ([134.134.136.20]:28445 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727409AbgBIUvd (ORCPT ); Sun, 9 Feb 2020 15:51:33 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Feb 2020 12:51:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,422,1574150400"; d="scan'208";a="227009399" Received: from lkp-server01.sh.intel.com (HELO lkp-server01) ([10.239.97.150]) by fmsmga008.fm.intel.com with ESMTP; 09 Feb 2020 12:51:30 -0800 Received: from kbuild by lkp-server01 with local (Exim 4.89) (envelope-from ) id 1j0tY9-0000Bk-W8; Mon, 10 Feb 2020 04:51:29 +0800 Date: Mon, 10 Feb 2020 04:50:31 +0800 From: kbuild test robot To: Andy Shevchenko Cc: kbuild-all@lists.01.org, Andrew Morton , linux-kernel@vger.kernel.org, trond.myklebust@hammerspace.com, Anna Schumaker , "Paul E. McKenney" , Josh Triplett , Steven Rostedt , Arnd Bergmann , Rasmus Villemoes , Joe Perches , Andy Shevchenko Subject: Re: [PATCH v3 3/4] kernel.h: Split out might_sleep() and friends Message-ID: <202002100415.2I0gMpYv%lkp@intel.com> References: <20200206163940.1940-3-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200206163940.1940-3-andriy.shevchenko@linux.intel.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andy, I love your patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on next-20200207] [cannot apply to nfs/linux-next rcu/dev cryptodev/master crypto/master dennis-percpu/for-next tip/sched/core linux/master v5.5] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Andy-Shevchenko/kernel-h-Split-out-min-max-et-al-helpers/20200209-041358 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git f757165705e92db62f85a1ad287e9251d1f2cd82 reproduce: # apt-get install sparse # sparse version: v0.6.1-162-g98276e61-dirty make ARCH=x86_64 allmodconfig make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' If you fix the issue, kindly add following tag Reported-by: kbuild test robot sparse warnings: (new ones prefixed by >>) >> arch/x86/include/asm/current.h:11:1: sparse: sparse: 'DECLARE_PER_CPU()' has implicit return type vim +11 arch/x86/include/asm/current.h f0766440dda7ac include/asm-x86/current.h Christoph Lameter 2008-05-09 10 f0766440dda7ac include/asm-x86/current.h Christoph Lameter 2008-05-09 @11 DECLARE_PER_CPU(struct task_struct *, current_task); f0766440dda7ac include/asm-x86/current.h Christoph Lameter 2008-05-09 12 :::::: The code at line 11 was first introduced by commit :::::: f0766440dda7ace8a43b030f75e2dcb82449fb85 x86: unify current.h :::::: TO: Christoph Lameter :::::: CC: Thomas Gleixner --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org