Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp476722pxb; Tue, 19 Oct 2021 06:49:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/JTHvA7N1hX16D7VARt8eY0AJR5NPqCuiLHPM46I8KGLOmUoAGr/LyqMjuMvIjCKEmjjX X-Received: by 2002:a05:6402:3547:: with SMTP id f7mr53742859edd.395.1634651364095; Tue, 19 Oct 2021 06:49:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634651364; cv=none; d=google.com; s=arc-20160816; b=yMJ3u0OtJJ13iuhP6EQaz0lZDwF2+FXTIeWUzaa30vAKv+q4dCCRggayeLOaywdYIS aJPXh5Ml0Fs62MRsXjew9NM4+B2GsAb4cTxBVoAGsRXQyu4XiMvBQymEWawz/8cHn36o FYNVX28h3n/CAbiH2qVwbOExTP43vwuIVASsdggJLdc03DOsbHTT6Jw/AuYXszeu2G7d +2eLa5g8W7Di4humfGhWRU1+dVq+I6/S6FpyfPcVBKfjkQM+T+LwCdcnzA5P6aWU0oQO 5BeYMKHGW2n+ZWl1hCAEGSAna2rygM84apoMmDcpSgVrOnSyvZWEjuNdOb2RAPVydrpT VMTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=parC8PxzpOXH/U754F84t/+ZClKXFQWU08kBmp0MqI0=; b=Bz/YGtkwx46AN8HqxNuiapsg/tQmmVc1j4WVjjpGhkStRSy/uCK5b2Fatp/x1MeDwJ l4QY303qvzR+kgXvpZ7wgurXGJf4ofjUTAjnv7bw2yURzmKH7tUdG9NK1RCyGeubLpMw ntEDJoJ1fuP4DmFiONZHWpQmeA66OCTiVGzryFWSculHwRlSQ0fyoSFOXcubnSr09Kn+ c4bOfw9GaLRaQyxaFYTswGVl2jRoHlYbOJvdROFeby0YMm/x1WOk1T38QyDa5AXqczeL cQylm9IGd1E9u7fNXqnBSisrF62n6AjDuIN3H648ieLfvLebhMetBRNTscf4bgMmQXYe 5DWw== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z26si3960681ejc.230.2021.10.19.06.48.52; Tue, 19 Oct 2021 06:49:24 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235935AbhJSNtP (ORCPT + 99 others); Tue, 19 Oct 2021 09:49:15 -0400 Received: from mail-wr1-f43.google.com ([209.85.221.43]:46754 "EHLO mail-wr1-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230248AbhJSNtP (ORCPT ); Tue, 19 Oct 2021 09:49:15 -0400 Received: by mail-wr1-f43.google.com with SMTP id k7so47669968wrd.13; Tue, 19 Oct 2021 06:47:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=parC8PxzpOXH/U754F84t/+ZClKXFQWU08kBmp0MqI0=; b=2Cr1AsSJqH6TM+9+80gjU7Qdf79GMHlbd7xZkMZ2pKZ49Rv6zCDBqzbC238/qppP2A eIcFb0Ec5B6TUs3WoBu8FA365l6Y82tpaKQjekMOPddiAVFd+YY9x6J+FCDy0fc809Pz Fgzm+5lTSD75G2UZSBsAlbv3Gt5BE8xzwA5eTxH897mvFGVGF4Vn82WZYfILZNngsQG3 cIoD+oz3hKg8vWZs5fzjImZyIKnUSKVHKeWzP0KxNaqspKQMrJ6hd7PC1SSn7X1nfcMm f2T565IbZmoHlX7AbtNW7WZUHmdCq1wZnA9Q0vQaZz8D2ZVBJDDjNnGvM3Kg+46CaQZg FT7A== X-Gm-Message-State: AOAM532RI7nQDI9kBNHsc3TBc4a0N0VtHj9qpbX7pfDj9E1Osy8r6NAF 7cg+ClQWKkYU1/kwZIfqwFA= X-Received: by 2002:adf:9bc4:: with SMTP id e4mr43491190wrc.257.1634651221243; Tue, 19 Oct 2021 06:47:01 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id u2sm14757178wrr.35.2021.10.19.06.47.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Oct 2021 06:47:00 -0700 (PDT) Date: Tue, 19 Oct 2021 13:46:59 +0000 From: Wei Liu To: Arnd Bergmann Cc: "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , Wei Liu , Dexuan Cui , Arnd Bergmann , Andres Beltran , linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] hypverv/vmbus: include linux/bitops.h Message-ID: <20211019134659.awxirloepa2d7c32@liuwe-devbox-debian-v2> References: <20211018131929.2260087-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211018131929.2260087-1-arnd@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 18, 2021 at 03:19:08PM +0200, Arnd Bergmann wrote: > From: Arnd Bergmann > > On arm64 randconfig builds, hyperv sometimes fails with this > error: > > In file included from drivers/hv/hv_trace.c:3: > In file included from drivers/hv/hyperv_vmbus.h:16: > In file included from arch/arm64/include/asm/sync_bitops.h:5: > arch/arm64/include/asm/bitops.h:11:2: error: only can be included directly > In file included from include/asm-generic/bitops/hweight.h:5: > include/asm-generic/bitops/arch_hweight.h:9:9: error: implicit declaration of function '__sw_hweight32' [-Werror,-Wimplicit-function-declaration] > include/asm-generic/bitops/atomic.h:17:7: error: implicit declaration of function 'BIT_WORD' [-Werror,-Wimplicit-function-declaration] > > Include the correct header first. > > Signed-off-by: Arnd Bergmann Applied to hyperv-fixes. Thanks. > --- > Not sure what started this, I first saw it on linux-next-20211015 > --- > drivers/hv/hyperv_vmbus.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h > index 42f3d9d123a1..d030577ad6a2 100644 > --- a/drivers/hv/hyperv_vmbus.h > +++ b/drivers/hv/hyperv_vmbus.h > @@ -13,6 +13,7 @@ > #define _HYPERV_VMBUS_H > > #include > +#include > #include > #include > #include > -- > 2.29.2 >