Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp384004pxb; Mon, 25 Oct 2021 10:08:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNCqaUyexpHRrK/uZFXMYdmaXhvvl02JjEbz+GhYVReOOHa11D054LthIOuBKiK3yCmz9q X-Received: by 2002:a17:907:76c7:: with SMTP id kf7mr22903049ejc.460.1635181700552; Mon, 25 Oct 2021 10:08:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635181700; cv=none; d=google.com; s=arc-20160816; b=rwieWbdzwMFv08Qljrwl2GfrY4GdN//5W/BkJhFvdql8/H5/nwFs5q1OxHb27cRMwJ TF6SV1f1ozZ86kelSFrmit4rKcpy6IlWRtv5NFukUEE8eqfpSfH6DFlVM8RQr+Pl3qoH nprZ6ugVzsZ9gp3x+zYT2RCyls71c0p0QGmuXDs73aGhdAMLpaZy4I8r0kA6Zee6V1p0 vCmP/s82PwiemeZtzJzU0z1Aembwi7o/BWDNs3YLGcPvc+HExa126kLOY+7VfukGbpl0 l7XuLRWLFbwLwQ5s4/0bzZvxDnBYD42HO/006kRnWMpg6oqUAZXj5G3q+CreCLhRkUAl fx4w== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=69gHEi5BNykMf3pRzPcG/J5qE8AuC6hTWVCV5bS0Nl0=; b=GMRyZP7WohMK/I1SgzKMKK+59uFapH2WVu9NmjxdxW8iGxaCAMnJu84he73GXjiVov GE3sHr3WUDsLORHrBAq9KOVD7KMX1hmaW8f926+sPG4S3cYv0cVaATUG/3zLU2geAnzw 5ycSPj30exi5WyUa4KvSk53qwG1yAAar2jdCU9MgsXnBAPed8u7qMp6Wz+TlrBxob0IA 5LXW//ql/iw4ixVTublGgbCvk2xJaNUmSvhTZe35t4ReIS7lSmH6CkKbEG+9ZST1Mdix HMjGVWFiJDwOspdev3f3rg7A8W8kKgcY6Ijk0WFzrHIJBojm0eGuZOgMSkaeOQl/mebD FkCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Rv0/nfPI"; 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 jy1si23264592ejc.140.2021.10.25.10.07.51; Mon, 25 Oct 2021 10:08:20 -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="Rv0/nfPI"; 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 S234424AbhJYRDE (ORCPT + 99 others); Mon, 25 Oct 2021 13:03:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:55288 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234157AbhJYRCo (ORCPT ); Mon, 25 Oct 2021 13:02:44 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id AAB0860EE3; Mon, 25 Oct 2021 17:00:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1635181221; bh=ZxkHcEeVA9q4PFIzeKivS8mmd+TV03OXE9eRiEEk4pY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Rv0/nfPI7nP9zRGBMcBvfFx3fUVzCcnQMNlTyNbsx0HGki8a75/AQNn1L6a7GUjLo qo9IRV4zSjRA0Nz7EblwaUEzFzcMGDw9RGwQiPcFwSiwQaP+W8tci2nwLHBwckBw7r jHMpixeOlcqX5BuwNEvRKWLTHdfnYITsn+xoXaO4Nr59mBqlcX2t3LcsM+uR5n49ox 2V2TuLbonid1cFcFMi8d3uYyrmCUVnOH/GU0zyWPltbCqazXFJ/rAOuRjZW7+GUhT7 hgcQvWgo7UO75TNx4MTxPXP/fKmZ310mwZoI+zXq+zDEiSUA8g0hk5C/aupOxdeoef LLuHLAKPmVWhw== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Arnd Bergmann , Wei Liu , Sasha Levin , kys@microsoft.com, haiyangz@microsoft.com, sthemmin@microsoft.com, decui@microsoft.com, linux-hyperv@vger.kernel.org Subject: [PATCH AUTOSEL 5.14 18/18] hyperv/vmbus: include linux/bitops.h Date: Mon, 25 Oct 2021 12:59:31 -0400 Message-Id: <20211025165939.1393655-18-sashal@kernel.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211025165939.1393655-1-sashal@kernel.org> References: <20211025165939.1393655-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann [ Upstream commit 8017c99680fa65e1e8d999df1583de476a187830 ] 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 Link: https://lore.kernel.org/r/20211018131929.2260087-1-arnd@kernel.org Signed-off-by: Wei Liu Signed-off-by: Sasha Levin --- 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.33.0