Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3932678pxj; Mon, 21 Jun 2021 09:39:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQh/2MB/jKzUe1xSgOJVVT4m/prw/wLZF6XGuWIk7zAt50eaMOB6cALQc+0oyeIjxTwJvu X-Received: by 2002:a17:906:7212:: with SMTP id m18mr16516842ejk.351.1624293564489; Mon, 21 Jun 2021 09:39:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624293564; cv=none; d=google.com; s=arc-20160816; b=EIfp+rXTgP0bfWPgYRXjVse+BZs7YnxydifCw2yk5KAdbs62RtKg9CO+0ZfHKlu7v0 N/FbhG0uo3WEOb/sfXF+kV0HsjlLnOlMCX0mjvRQyRUgg8lrUP7uJsuLowzV73n+P7v/ mq/SqK2zozpV8C3H2ode+FKnH1tOlQ3btbgMJWGUHARnSo9bjISb4hLc7LdTvNERNQM1 wwlXVeYQyAWQaIv/EG6IO2vIUhym+qyz3joCgwI45RN7f8gkNqETjFH/H0BzwiQSGhdm 4PsBn7WtJzjOnjS/oI4ZlXbDZPO3iIIib/j+nk2sWppPblQ2wM6bhkLLZWQG2WuU0WAR 718Q== 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=qrBTCH9jFn2O2VBvn8/MHpuLTJ0Zvto/fNf7QK+dCtBWq7Mb8svmOxn3GJZ4c7ruvo qmnJjiQgV53gKVyFc47WiUuLds8GFs1sFHnDDzctyvsMRobKOZUe6zYGeRHl3QqSgKIb HcGg8xZxfv+3BsPX+YtdPHAkydjUIEoZhpHT8KN0iLVyuxXiq030C7SuT7iyjBSd3Pbh BcogUoIx+3YqMV8ixAQVAG13z/Cja25VtKJfk0iR+xeeUHU6hN0+fGyuET2GtT5/K6S5 G5QBcZBIs3nT7/e+YmFrAXBmv3MGMHDfyDjgVdMUXCz1oM20FQ7I9Q7S1ngiFhbRisZC CLQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=crf2V4Kx; 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 e5si16829049edu.539.2021.06.21.09.39.02; Mon, 21 Jun 2021 09:39: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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=crf2V4Kx; 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 S232889AbhFUQiM (ORCPT + 99 others); Mon, 21 Jun 2021 12:38:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:55204 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232618AbhFUQeP (ORCPT ); Mon, 21 Jun 2021 12:34:15 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6689961410; Mon, 21 Jun 2021 16:26:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1624292813; bh=zbAT/kX5Ee7YMu5zr+rIkouwoULEylJPP58Uk+Fz4Zk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=crf2V4KxRPIHS5+9J7/6I/U3XuFAwGfpnp0G3Snjrb4hRt1rZtQ3R5r0ikzSBRxqI 2vkvRjjPDHHo4E03aIciUMMvrrydAYJ+iA50QCTfBOvLUKPRI7vc15YsyV/7Sbi0Ad 2k1A1XSZASgllCSASsqKHoCrKV8c3SP9BN2qQgSI= 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.10 140/146] mm/slub.c: include swab.h Date: Mon, 21 Jun 2021 18:16:10 +0200 Message-Id: <20210621154920.493336162@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210621154911.244649123@linuxfoundation.org> References: <20210621154911.244649123@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"