Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3922626pxj; Mon, 21 Jun 2021 09:26:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzA43AmGpMykRo6ALrFRxUv9EwzhJMiuL3YNJQLISWDiqDWK9MGAeho9+Zi2w4NOtZBbnGB X-Received: by 2002:a05:6402:2898:: with SMTP id eg24mr12151286edb.155.1624292797071; Mon, 21 Jun 2021 09:26:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624292797; cv=none; d=google.com; s=arc-20160816; b=exjlq8KghYHK0L7R8UnUJzCozF9LFea7FXE/aU0dS7E7ipa0Aikm5BDinruJw3qq5S NirGf2Uj7dvgm+mPa/6IwFZzHPN2gMjmqp3JM5vMmL1VTRwPN4uVjWEvSWPyCut+7/BH 2ZIRL4DcfFsuohUHwvFBHq7JCQOHwxb9DbJrg1RjvE3Q+qt4/Dx9wz0rMhFg5hvew6Da IQWA1AiioaA4+L/ob9NGi1hmWl1xVjdAoh04WD8QzwVndhhrbToO9EIFTWfDMIEEoRg3 pmthH7Qt0dxN20U3ptrYpx+fP3xewHzYyZjak6KWDLVy/p7j8q4rCcRjKQwXd2sXBxmL Ljuw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=bmxSAgFDdWmy0aE6o9zheT1T4GdQ4k43FUZDlCTUbOI=; b=GPOQtTqtp6A/75If0ZHM3V/9M3RMn8+QHvp1+cbjdC0v8/G94i4P+5JUdiHrAKyagc /j8yLdJ0JRqSf1bjCu0kBt/PFdPLMc2n4toY2WxkwtpvUU0cgioG5qQ5BBPpOQ0FyGAu d8AYfES9CAfG0Hje5uS7kC9PFx5ZTE1Pmp4mZXlasx3+4/OziRqo6yTaGoWTbCP1azmA e1XBtlhqTOwQFMnigteqUmNOEqwTXHB0gVthAcbaKXAo38PKB+J8oDLCjf1vsw7oKz9/ gvtG/aJMIvARX2yeyXOnAMduBbqoope1FNSQecUcg6IyvJlFEjFLUBJ9T2/BkpWzR156 +Ptg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=QI76tj4l; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id zh8si12226381ejb.317.2021.06.21.09.26.13; Mon, 21 Jun 2021 09:26:37 -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=@linuxfoundation.org header.s=korg header.b=QI76tj4l; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232187AbhFUQZf (ORCPT + 99 others); Mon, 21 Jun 2021 12:25:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:41362 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231873AbhFUQX7 (ORCPT ); Mon, 21 Jun 2021 12:23:59 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 60B1660231; Mon, 21 Jun 2021 16:20:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1624292456; bh=zbAT/kX5Ee7YMu5zr+rIkouwoULEylJPP58Uk+Fz4Zk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QI76tj4lD5IE+ygmGPGwv7gLX8JksdPKR45lTbH2LEBSEJOovfRU0wFDtSrCYCwop yj5bmAAOac0S6L+OoiunGgiMGF7mzDMRwBrAHDNBjbEVtOXOs8GD960oQ+yLtwzxxB Bpq2RsXCqkQHFET+w6laq4NiwutERiVvAzY3FSWE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, vannguye@cisco.com, Kees Cook , Andrew Morton , Linus Torvalds Subject: [PATCH 5.4 80/90] mm/slub.c: include swab.h Date: Mon, 21 Jun 2021 18:15:55 +0200 Message-Id: <20210621154906.861388432@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210621154904.159672728@linuxfoundation.org> References: <20210621154904.159672728@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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(+) --- a/mm/slub.c +++ b/mm/slub.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include "slab.h"