Received: by 10.213.65.68 with SMTP id h4csp660597imn; Fri, 6 Apr 2018 06:57:12 -0700 (PDT) X-Google-Smtp-Source: AIpwx48hqOpi8GAm8jfE778bVKBQQZuypeW4Yi0her81SUUrnZB9snWY5aQhXkBFeQlcZydULiUL X-Received: by 10.98.232.2 with SMTP id c2mr20741188pfi.187.1523023032214; Fri, 06 Apr 2018 06:57:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523023032; cv=none; d=google.com; s=arc-20160816; b=C7ZxJwNiJZAH8faXnK0VyosfCw00UmT2+KSBTkoY821jfJKPeQUPMPZbRzB+STHN9U 4lBaTngY8MQ+wzzXkefCzfwGwTMV8HEkTfkPwMQfAYxp12EPe+EF55eaOif2VqN+5lYh jAOhFnees1GNHTkncCTLhzjFn5TwDFmlXeXCa83TTD0m2w1/zfqnNERyiL12hugoSUqM e4VKZCpRLjxBynZLLlvpd7SO36sSiUXRrzwuTrr4F8yugrAhOR88Vd0JT8S5zGycMMoG O8f3/p5fhx+Wtlf313snYIFktK4dzZRSUnpH147PTYIU2pKsAzOKPkDpgTCNxtAKHUhy 7ejQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=5suLb1OF0pV3xeiaLv/HXHYIuEzceW6hePW471jsl9A=; b=ic2Zk11qBkWNcH4RdkxSw58ajzYKQzY+pUGslcW68wC+VWiXAU8Gjb9KMBEtIg52rW gxtuU4JKXKeuH90SMGohOGwkR8CZCbx2nsSgYHfVcJaNX5b/dDGxeHOuHlqaHDsEKn6y MMdCXS54YwRlR4To7YQJ7/m0oqE41AhTwXYAry0roBt3GCnaHnMY9C0RQkWZGd4xzDMf OvGxwb/ZKf+jk84MaF8MgFEC9POGdh83yxv9ZBSg11mAQDKaAn0A0l0vrtEIouTjRctT 3uFTGGO5iyt99ZXfb0p82KKFVlQHxXFTkgUfRiXtPAyeMfO4mkELgvyeuI4waSUD39tb sR9w== ARC-Authentication-Results: i=1; mx.google.com; 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 r3si7186083pgf.125.2018.04.06.06.56.58; Fri, 06 Apr 2018 06:57:12 -0700 (PDT) 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; 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 S1756790AbeDFNnl (ORCPT + 99 others); Fri, 6 Apr 2018 09:43:41 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:37388 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752461AbeDFNnh (ORCPT ); Fri, 6 Apr 2018 09:43:37 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 981F8E04; Fri, 6 Apr 2018 13:43:36 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Mikulas Patocka , Jens Axboe Subject: [PATCH 4.15 68/72] Fix slab name "biovec-(1<<(21-12))" Date: Fri, 6 Apr 2018 15:24:43 +0200 Message-Id: <20180406084353.930147205@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180406084349.367583460@linuxfoundation.org> References: <20180406084349.367583460@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Mikulas Patocka commit bd5c4facf59648581d2f1692dad7b107bf429954 upstream. I'm getting a slab named "biovec-(1<<(21-12))". It is caused by unintended expansion of the macro BIO_MAX_PAGES. This patch renames it to biovec-max. Signed-off-by: Mikulas Patocka Cc: stable@vger.kernel.org # v4.14+ Signed-off-by: Jens Axboe Signed-off-by: Greg Kroah-Hartman --- block/bio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/block/bio.c +++ b/block/bio.c @@ -43,9 +43,9 @@ * break badly! cannot be bigger than what you can fit into an * unsigned short */ -#define BV(x) { .nr_vecs = x, .name = "biovec-"__stringify(x) } +#define BV(x, n) { .nr_vecs = x, .name = "biovec-"#n } static struct biovec_slab bvec_slabs[BVEC_POOL_NR] __read_mostly = { - BV(1), BV(4), BV(16), BV(64), BV(128), BV(BIO_MAX_PAGES), + BV(1, 1), BV(4, 4), BV(16, 16), BV(64, 64), BV(128, 128), BV(BIO_MAX_PAGES, max), }; #undef BV