Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp898955pxf; Wed, 7 Apr 2021 14:31:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxp6nWNu4eQxr8UBXw2FqqiZPi6c33KoXNUaLTO3G+ukpYacj+Nyqy370QqMlAOAft3NFYu X-Received: by 2002:a05:6402:1a:: with SMTP id d26mr7037958edu.99.1617831062011; Wed, 07 Apr 2021 14:31:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617831062; cv=none; d=google.com; s=arc-20160816; b=GdyLBEasoQeAeD2E3nQX+8KjJ3gMvyPOStp5PsPXIdCBWqk8e2baQEkDqM+T4a6M93 /3Vn3XpNBVODvCHpdjNbxMDluchtZ2F7pG6td4JEHDbdt6MeLQoI71Xj5V5KnrgK/AZ7 rMDsbJaD48nR5d87USwsRTbxT5W/PDUS0gpUFP1tvIely7R0HIc8VSM7qm/mLS3BfThd bFThWO2r3c0yzI53BG7cLJMKzpANjPsCyJ2tUlQVypoL8om+9bKlHFJFhHkdaB3+Ny0f p9XvmfRzhC/O4a48taS2f4+QIxUweR3DYglX1rkeYn4MuR8hV8MbqQ+UhqI4ok4WceBF Ye3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=GOy3nO0RdHrQhtcTT7cGkXWUcq8LYZNycV+JvEYR9ng=; b=yY/f+dVVDsHx3QMgmHL+SS8nW42W5cQ43o+xrTAwZFr2weZJPDu9TafZtkByEnJjKN tzJaH1mkfIWqjiIEX8m7wVWqSVjhWMOfr6gQxCkVk0aa7sqZAe6wIEiuT+oBqEhGpjwq k4AOJOYxWjiYoyLAy1Zi65bGp3f6mxuEY8iqcFJvJyUsXjwBpUmnEfewtB0831czeWig ro4OI+eC9jsCjLmrV+J3/uF9dFMrgkQiEMqR2iAsxoWZkph5kTcJnLCoWlweC/7IMZqC IVUUbMyxE8n005QJC5jA5OPxtMJ1Mna9rKMZZ+6CLbT/c/xzOO/3Cuus8hqk3ij57vhO guPg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gb2si20932917ejc.547.2021.04.07.14.30.38; Wed, 07 Apr 2021 14:31:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354055AbhDGQEe (ORCPT + 99 others); Wed, 7 Apr 2021 12:04:34 -0400 Received: from mga03.intel.com ([134.134.136.65]:37500 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354053AbhDGQE3 (ORCPT ); Wed, 7 Apr 2021 12:04:29 -0400 IronPort-SDR: 0eGKqXn/0Zu+FxMxERXi0fvb3JIt8RAlbDfC4elYX1obp+yjpbx7MBd/u9pAIHlmUB5G6yVPNX F9Xwl2mprQPg== X-IronPort-AV: E=McAfee;i="6000,8403,9947"; a="193384331" X-IronPort-AV: E=Sophos;i="5.82,203,1613462400"; d="scan'208";a="193384331" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Apr 2021 09:04:19 -0700 IronPort-SDR: gsM3lRPWQshHLRsDLC1g4VPdVnd2MUl9ost+JWA0WWA7I4WIp0Pv+ObIxpDt1a2m3fgK1rV/MQ 0W0xSmiqLIlw== X-IronPort-AV: E=Sophos;i="5.82,203,1613462400"; d="scan'208";a="387051253" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Apr 2021 09:04:17 -0700 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1lUAes-0022t3-UJ; Wed, 07 Apr 2021 19:03:58 +0300 Date: Wed, 7 Apr 2021 19:03:58 +0300 From: Andy Shevchenko To: kernel test robot Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, kbuild-all@lists.01.org, Jens Axboe Subject: Re: [PATCH v1 1/1] ata: Drop unneeded inclusion of kernel.h in the header Message-ID: References: <20210407134706.81383-1-andriy.shevchenko@linux.intel.com> <202104072325.Zv0JLqbH-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202104072325.Zv0JLqbH-lkp@intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 07, 2021 at 11:51:31PM +0800, kernel test robot wrote: > Hi Andy, > > I love your patch! Yet something to improve: > > [auto build test ERROR on block/for-next] > [also build test ERROR on v5.12-rc6 next-20210407] > [If your patch is applied to the wrong git tree, kindly drop us a note. > And when submitting patch, we suggest to use '--base' as documented in > https://git-scm.com/docs/git-format-patch] > > url: https://github.com/0day-ci/linux/commits/Andy-Shevchenko/ata-Drop-unneeded-inclusion-of-kernel-h-in-the-header/20210407-214746 > base: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next > config: x86_64-randconfig-s021-20210407 (attached as .config) > compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 > reproduce: > # apt-get install sparse > # sparse version: v0.6.3-279-g6d5d9b42-dirty > # https://github.com/0day-ci/linux/commit/d2574103b692b4fc73f1ed36ee9e4d3324902fd9 > git remote add linux-review https://github.com/0day-ci/linux > git fetch --no-tags linux-review Andy-Shevchenko/ata-Drop-unneeded-inclusion-of-kernel-h-in-the-header/20210407-214746 > git checkout d2574103b692b4fc73f1ed36ee9e4d3324902fd9 > # save the attached .config to linux build tree > make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All errors (new ones prefixed by >>): Thanks, we need to include bits.h. (It passed my simple build, but appears I have no such driver included) Jens, I saw your message, should I send a follow up fix, or a v2? > In file included from drivers/hwmon/drivetemp.c:98: > include/linux/ata.h: In function 'ata_id_has_ncq_send_and_recv': > >> include/linux/ata.h:929:40: error: implicit declaration of function 'BIT' [-Werror=implicit-function-declaration] > 929 | return id[ATA_ID_SATA_CAPABILITY_2] & BIT(6); > | ^~~ > cc1: some warnings being treated as errors > > > vim +/BIT +929 include/linux/ata.h > > 4bca3286433585 Martin K. Petersen 2009-05-15 926 > ed36911c747c18 Marc Carino 2013-08-24 927 static inline bool ata_id_has_ncq_send_and_recv(const u16 *id) > ed36911c747c18 Marc Carino 2013-08-24 928 { > ed36911c747c18 Marc Carino 2013-08-24 @929 return id[ATA_ID_SATA_CAPABILITY_2] & BIT(6); > ed36911c747c18 Marc Carino 2013-08-24 930 } > ed36911c747c18 Marc Carino 2013-08-24 931 > > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org -- With Best Regards, Andy Shevchenko