Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3814353pxv; Mon, 28 Jun 2021 13:36:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzn2syCf3xbegCvmVvZw9NtNMs1oCmy8L9ztndWt/P0UESCWv17xl/l4ckgM1RyCS3ha4o3 X-Received: by 2002:a02:9f8a:: with SMTP id a10mr1278450jam.136.1624912606934; Mon, 28 Jun 2021 13:36:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624912606; cv=none; d=google.com; s=arc-20160816; b=MYc90HfCgWAN8yIG0e/Vpt4oS34v02pKisBlGDUIFiJAjX65bVryH6awiTCANEQsbh L7YX6qArHFOqN9izXz5Hjma9RA5B9E9lE/eW0WtIdPv7xyB/m6PFoNOIn+WtLqfHBYBv QNSMYSZss0jkViaRmSy9IbazbHf3w99dvX5r+7idtXVgweAkhUC+YmCAwmNa6eKANyQS cfS48+CCU3Kd5HrmJRp4VAI47EqyPpLgMW8jPrRAhzp2GzVJ0v7+M8I0yUKtb+EsTMEi PMhe/cQMsdbF35XEccYinTnz/sD1ponlpmXk/NwjFv7bbceuO/b1N52vO0qhp8ASMMxm BDIA== 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=YU7F9X4j/LX/D6fKDJYJdFpnKFhgOqttSXeh0ezbdYk=; b=rLTX1tYRutst+oSGP4pKBo/9S4OAZ/T3mZuB1XQ+aiZg/7CzDq9tlLikmy7K4s45z7 4KtsjDwQzQgNmpTMFKzUNRR9Pj/VdRa7iHN+PguRPDKCILZUqVeA1FaC+x7TsFjtXbq+ qRcp1wRUv4Fu/mB1XFNo0Tg7jLILYFRpvi+u7VkW8yDDJS5aQz3rRgkqyPQXZx/k1Q7g qbvcJQjIm+r6oyHXZmST1RXyUkLPdvCKohtHH2sRpUzcaaDXTEbeKUe5/IvIl6HeeM0c jUKQp2dcMYRx0lNLBWAV9Us2uDVb70lxFCDLDj302fJKA0XnT9a1KvSXFE4DvkVjD9QE ioeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=h22a7hLN; 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 i13si20149098ilm.156.2021.06.28.13.36.34; Mon, 28 Jun 2021 13:36:46 -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=h22a7hLN; 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 S237247AbhF1POP (ORCPT + 99 others); Mon, 28 Jun 2021 11:14:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:59412 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235845AbhF1Owy (ORCPT ); Mon, 28 Jun 2021 10:52:54 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id BF71061D38; Mon, 28 Jun 2021 14:37:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624891039; bh=lJ24d/MGhTh9IxIR9GnUmg82JD76yE9nm6V6CuJ950U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=h22a7hLN3/q6dGawY0dmg/SOFXJKwzTEoge1Uwt0MwD0q0ebKk1uh/m12fkadNvEA 7cSFTiXwakR1W6Q0MuP6VKKJGbYtqYV5lZ1ZxjUAxx5PIj40H2K8y98KwZ9HJEn6t8 q9INLPVc0ltHBVEw1XXU0uhsD1ynB3CQw/lQSH2lDIBCUTB/VD0YzVKzpOcewwR8Zb H8woJdmKTXppAz2VmhVspxRHxAsbhI6kNz9z+bqpgO/GRuEELDJ3gNXQkSgnLhixyS N7sdQBSHINul9cnLbOAkOnfW7TLHyd80Q8hKm97sBjYDN8L30opCQnlqWcCclMDLqx WXsvPrSANHG9A== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Andrew Morton , vannguye@cisco.com, Kees Cook , Linus Torvalds , Greg Kroah-Hartman Subject: [PATCH 4.14 57/88] mm/slub.c: include swab.h Date: Mon, 28 Jun 2021 10:35:57 -0400 Message-Id: <20210628143628.33342-58-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210628143628.33342-1-sashal@kernel.org> References: <20210628143628.33342-1-sashal@kernel.org> MIME-Version: 1.0 X-KernelTest-Patch: http://kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.14.238-rc1.gz X-KernelTest-Tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git X-KernelTest-Branch: linux-4.14.y X-KernelTest-Patches: git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git X-KernelTest-Version: 4.14.238-rc1 X-KernelTest-Deadline: 2021-06-30T14:36+00:00 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Andrew Morton commit 1b3865d016815cbd69a1879ca1c8a8901fda1072 upstream. Fixes build with CONFIG_SLAB_FREELIST_HARDENED=y. Hopefully. But it's the right thing to do anwyay. Fixes: 1ad53d9fa3f61 ("slub: improve bit diffusion for freelist ptr obfuscation") Link: https://bugzilla.kernel.org/show_bug.cgi?id=213417 Reported-by: Acked-by: Kees Cook Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- mm/slub.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/slub.c b/mm/slub.c index a0cb3568b0b5..484a75296a12 100644 --- a/mm/slub.c +++ b/mm/slub.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include "slab.h" -- 2.30.2