Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3000430pxb; Mon, 18 Oct 2021 06:22:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwdhejnHcdl/0bIKLq+D7pss7yTBCGb8Y6SMfvdY6IYZqK/c+fKqtyPxNVBCYRkjI9Fpfse X-Received: by 2002:a63:b04c:: with SMTP id z12mr16654424pgo.363.1634563342788; Mon, 18 Oct 2021 06:22:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634563342; cv=none; d=google.com; s=arc-20160816; b=JWGF4xvdOCZt95DBWDpMPGfOk9riKr13xlRZ58tMPjBeDobM79qZDKE2ZcKlep+pYi 7m3z0xlzTXA13yE3HyX6y8GctKaPOtFkBan8TqnCg93EFTLkMfE9o6UhT3NhuT1xU2h/ Z2M8IUBjxe2WYsXxPVYjRuNc445Og6QmNaDdskigq8RYWHuJjkAo7llV7MKZqQnEDUSf RL1KNbzxgeZEStHQztnVP8YDrFKjy3LZg+hhVu6uJ+e77X5Cd3KERv1NzfdqRu8PN5ZB kudMBrxuQNwscAeaeFv7A8rgkcfC2zakbbgtxXWgLd0TX+8a6X5pmJX50U+hpPNm1XLN up+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=mw7bMYwzPEsdx3n9WE+OtVZEi7pU1vCPdsOSklsDc80=; b=lXyLA73LECr+Gz7mrugfk13L5FJF8EvGXvtokS1EDrPWYeZYvVDq7okVlqzNKc07Pe k9wfXnss60c7TmykjfPjWsayGK5TtFMC0yfspdQ3l+AFuVn0sqzDgtsV9LmSBP+ICp4i /Z1Vs/pnW2GvEwdwNHJ6YO48EzmffQEGMWQkAq0lSku/TkruqFeZud58mE25KFRmmyBz QGS1eenU6vei4me0OwA6x9kONl+Ad/OK8BoVgHupFfolpGnst0tbmspz07v7R0KYlRry cUIM+F0KRAW2M0NBcumQAVei4gl37Xju7WM/JHg2Qpd7ViTZuFFSDfxCVpOhcW2wLBgs TnDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QPLWe72+; 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 h4si856213pfv.329.2021.10.18.06.22.09; Mon, 18 Oct 2021 06:22:22 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QPLWe72+; 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 S231739AbhJRNVu (ORCPT + 99 others); Mon, 18 Oct 2021 09:21:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:35572 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229519AbhJRNVs (ORCPT ); Mon, 18 Oct 2021 09:21:48 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 31CD46103C; Mon, 18 Oct 2021 13:19:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634563176; bh=7tj9sq8JJDJOPu5HaXd4ssS9coNEsTV0TbD99mXN8vU=; h=From:To:Cc:Subject:Date:From; b=QPLWe72+D9TTkdSKM9wWmKogdrx6GKXSB8IPBmL2ns0YnmFZrIUuiz7tQKurm9jhh YQPkjO4k/q5B8yJWwtcmSo8bu3mTrTLqzCq3GT0zukEQUF8mpDVyC0rPyYwfAw0Bff nYjFL7xYeRzjkt9CxJx48mXU7CytPFlADrOB+UUANj3go6DEANMDSGkwV4EhxFqrYy PlbklJ6GcPhUsFSoZgj74qy3p63QSnvQcYMEJ+wjF8D1zlTqLXrXWpzb1IFl96pPHP X7Cv8GKQJT3wjHpEwu4gTGMBns433dTYmgGjs85FobWyjlVzl3asthtFTrwIilTxs5 15M0TlAg9mZrg== From: Arnd Bergmann To: "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , Wei Liu , Dexuan Cui Cc: Arnd Bergmann , Andres Beltran , linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] hypverv/vmbus: include linux/bitops.h Date: Mon, 18 Oct 2021 15:19:08 +0200 Message-Id: <20211018131929.2260087-1-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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