Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp765274ybl; Wed, 4 Dec 2019 10:28:44 -0800 (PST) X-Google-Smtp-Source: APXvYqwz4MyU1SFQbO3nnLRkfcsf8ZTbePNiFe2gGtT+T3F4w9lT3Y3VEmraeXhiWCy1WQDikLnb X-Received: by 2002:a05:6830:10d5:: with SMTP id z21mr3728408oto.30.1575484124115; Wed, 04 Dec 2019 10:28:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575484124; cv=none; d=google.com; s=arc-20160816; b=nHt4s57KRu5Vi57IUruY7GD6t8DDgoJaYZmt9+YNk/o8e6ONy318s+Wkzg0mPwdkZS 6pJeMijgb+juvVZYlrIatrtOiwtwaB/aJnmDZ93Yk37SObXD6gPI5Dlq80HZeLZcH+Tg TgLQcB2RLgay2ZiadHicpOjWu0nQEmFmxOJ6keQvciERfmKY9dIio5nlobsJN7TyrzzJ yLvmM45p1LJJGgvGIk0P/Zy81+9i/bfdx6jX8cvhzSqN0+tS8n50lQTmLDKbJkqFn+Y/ EuCyjCdZncij6SENahIW24QD26Ndl/hCSxOlWo2bGBgD39+OEk14z3Txjfbag5NF5431 fkYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=deZaXE9wO6vCk0tkO7SMj7tKb/7NZZd7TzCnfvNUzBw=; b=08omcCAAeyZva5DUONcap5zquGbLJUBJ2Hti3evcC9csTRpCFCposS7fy00bkFfeig dLzN4Gom0hguv6Lu9aOnWhvkeBoebxxHYI955WiMJRtEo1CvirPVVV8YTD4PhYMXf9QV 6muAoSeBclSirBY7KNACWTFYC3Y5w2fEBpz6YPAMaBrSl2lvokbgJWCKIi5h2DLH1NWS eoj3u20fASl5TNIduYr61/vu78hulwBAfumFOUPcgWtZUvLNw4Xjh5u+87CU/WjIC7xN JbyRGd9DqdULz93PJa9mtgT5iKfrGdcAOAbvMk0FuTgFH5Ieq7BUH2JKajVCzJsSG6Ye I5UA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=eKxMIuXk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x2si3548123otk.66.2019.12.04.10.28.31; Wed, 04 Dec 2019 10:28:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=eKxMIuXk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729143AbfLDR7g (ORCPT + 99 others); Wed, 4 Dec 2019 12:59:36 -0500 Received: from mail.kernel.org ([198.145.29.99]:36192 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729126AbfLDR7d (ORCPT ); Wed, 4 Dec 2019 12:59:33 -0500 Received: from localhost (unknown [217.68.49.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 47B4C20865; Wed, 4 Dec 2019 17:59:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575482372; bh=7I440dgsAAXMb1dwZ7WtUl9IFmfO2mQSOAE4QTI4dN4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eKxMIuXkNcNyjctFFIOhsKCpFFhzmO4Ai3ckTe/UR1racL59uWwzlrOrgDhaik6Pc kmWE92KKxcv1XV8YCTGvnXaehZSziP7qoGacNBIyP50qRFTIAtzdrL8opLgHNNxWQ4 gGYjN4oTejfZpgw+6+2hKtXMuz+P01j3BuXgim+U= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Huang Shijie , Andrew Morton , Alexey Skidanov , Olof Johansson , Linus Torvalds , Sasha Levin Subject: [PATCH 4.4 61/92] lib/genalloc.c: include vmalloc.h Date: Wed, 4 Dec 2019 18:50:01 +0100 Message-Id: <20191204174334.048074547@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191204174327.215426506@linuxfoundation.org> References: <20191204174327.215426506@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Olof Johansson [ Upstream commit 35004f2e55807a1a1491db24ab512dd2f770a130 ] Fixes build break on most ARM/ARM64 defconfigs: lib/genalloc.c: In function 'gen_pool_add_virt': lib/genalloc.c:190:10: error: implicit declaration of function 'vzalloc_node'; did you mean 'kzalloc_node'? lib/genalloc.c:190:8: warning: assignment to 'struct gen_pool_chunk *' from 'int' makes pointer from integer without a cast [-Wint-conversion] lib/genalloc.c: In function 'gen_pool_destroy': lib/genalloc.c:254:3: error: implicit declaration of function 'vfree'; did you mean 'kfree'? Fixes: 6862d2fc8185 ('lib/genalloc.c: use vzalloc_node() to allocate the bitmap') Cc: Huang Shijie Cc: Andrew Morton Cc: Alexey Skidanov Signed-off-by: Olof Johansson Signed-off-by: Linus Torvalds Signed-off-by: Sasha Levin --- lib/genalloc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/genalloc.c b/lib/genalloc.c index 38764572ddde8..e3a475b14e260 100644 --- a/lib/genalloc.c +++ b/lib/genalloc.c @@ -35,6 +35,7 @@ #include #include #include +#include static inline size_t chunk_size(const struct gen_pool_chunk *chunk) { -- 2.20.1