Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp752440ybl; Wed, 4 Dec 2019 10:15:56 -0800 (PST) X-Google-Smtp-Source: APXvYqw6xLHafjdF17WWDmiDu7erVRgcf2eKp5r56lULC5I6E9nkELUjmyjG3VIMJlCBJP6kCL/k X-Received: by 2002:aca:5cc1:: with SMTP id q184mr2105247oib.122.1575483356747; Wed, 04 Dec 2019 10:15:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575483356; cv=none; d=google.com; s=arc-20160816; b=CnqffzR/G7q1oC9g9PEsgMPIlyBmU2sB4RtpJjqQop4puv7Uams8Z6vkvLCoNJsffJ o///6ZQrqclAvCGa7qmrlnsxnzokAeCauiuUE4OThD5b8kOwoOfLFtdokrjdb8zoeNqH 69P37SQjg5wrkcfj0EcufZbLGe+6JMi/0nh1R8xFAXdeYFnj+UUhZshA5m3Wb46GC2l0 4mWbCUDjxAPyUDA1374lll7oNFXQh5tu9jorNvQ4tnqi9bOxd2lHVgz+9IFZB8IkGcpn 9UBTkbwN40lVljGIOh6i9ukIBHm8Ly1Z+yKJhJ8lOhytHMiIDkPu40eYFsdjZUOPoMrr qYAg== 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=gPVyFJBs7UwisNULpAybOPquQYmZ/+AlF/bs7ToP9IM=; b=IkAajJNlxIztAMY8CP0kwOu+7oGKRXqriRC1ClPNJDXdnvmaTsSmN0bvvxbRDe442S I9TgjyWgDLI1/03SGajVGfgJnZZ+DQ+6YVY5TCe2HnmKeOYWvErt8bgOc+KEGP0GGHVn 4w7d2hZ6Z/27oxPT3Y8QaOsO3pMWSnifNWkQqXgx2DzUbpYbhZhdTGEy/IQES2K5O37V IcOQp3KI0AP+FjRrc8c8K69AOMTMfYUxBRnYMnuHZmCTdzkw9t7YUiQUrMt61+u4q24v Md3UNAnm0rt6/XPFjH0ktnPdyImjmdhRmtNmuEddfLJDWqIGd2G9cghKCNO3M912oc/e nFYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dK3ywxi6; 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 f188si3791834oia.70.2019.12.04.10.15.44; Wed, 04 Dec 2019 10:15:56 -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=dK3ywxi6; 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 S1731934AbfLDSOf (ORCPT + 99 others); Wed, 4 Dec 2019 13:14:35 -0500 Received: from mail.kernel.org ([198.145.29.99]:43918 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731642AbfLDSOd (ORCPT ); Wed, 4 Dec 2019 13:14: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 6A4EA206DF; Wed, 4 Dec 2019 18:14:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575483272; bh=cvFZvCXWVi56kGin9wBixbYsa4vDrv6sQdpsJCuvV0I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dK3ywxi6RjMq5+89+77QQYywgTL3bvOvI60F3yvsQYXnTuPj8XZX+L4w1MktBYLFc 0r9QTd/wS7SmaanZTdwOmv1I17fu9YxxXEclPTdE2gYnGUdXpLExEqg9+PggFj+T0+ aKfaRP6NxXxtt5fm6cxhed9OlXdkRP5RqZ4NNdKw= 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.9 086/125] lib/genalloc.c: include vmalloc.h Date: Wed, 4 Dec 2019 18:56:31 +0100 Message-Id: <20191204175324.299603591@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191204175308.377746305@linuxfoundation.org> References: <20191204175308.377746305@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 f365d71cdc774..7e85d1e37a6ea 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