Received: by 10.213.65.68 with SMTP id h4csp704535imn; Fri, 6 Apr 2018 07:33:53 -0700 (PDT) X-Google-Smtp-Source: AIpwx49fJBAtLtJVwZUajl7NXF3wemKk45kM8iG1nsABO16HN4tAQauNAYMOlvdBPps/1MU6GaxL X-Received: by 2002:a17:902:464:: with SMTP id 91-v6mr27340949ple.126.1523025233874; Fri, 06 Apr 2018 07:33:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523025233; cv=none; d=google.com; s=arc-20160816; b=xFN/DTiHXh8KgniQDsz+rPfe9yzjz17PhJQrZ3I5+9cwfg0OWv5BVrjwgwWKghFwyi krgPGAWvMkGgXaDBzVYdgEcPxEmxr5qoJT3gYc06ybhZt6vVby9wF2JhVLE4tF9aUsIc YrryyRIrW2FH1VX9nrZbxYe8NORej5pJHRrIk0GZ+6zr7g04CNLV5eVvgKv+/9SDGjlY /R2pMXOUCDKZ8mssnVHJo/UPOz3DgE5hiOxLWHpyvVotm5B5AADmyYl0qJr35/gaXUy/ fnG4qIKDciEazKRxp5F/LaVOFVjt9mnb46lZ5dPkDTNvBfp+o0Q5LarVrvHQ+4BDzJ7M AO9w== 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=bJizX2qP/6MScIQ14/aZ3THU5kZdg7Xob0ldKe+0naI=; b=fDMLGlmtpVPiW00D4njNAeO+iW9IhVkmb7fkfWgKHHX0Qk1Dv97Edd2EhLYJ7lW0QM UNey3yoFjCEHhTAnlYVKNfPvK89VJsbAwV8P7Z/viPMvspqREitpzGWJCKhM4jS3agFO kvZQlnQqXEO1Zb+IXWUtKmf4zTLR5NmGAQmEg8y0P25L37nFc0DlaKXXJt+4z9y9afhj XuQg2Q/GeROU1ic1l4l2yudU293UI5f/L5+gazGTpEaoS+aN3XfO6hZXCgwFblGNDQ6d 3lBfJ9O1kOYOsfTf6UoxkTxyAYYa0JUO9kR4yuogCjMOrQFA0hfjfV+lV3yOR84qIqcV RkyA== 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 d13si7393915pgn.334.2018.04.06.07.33.38; Fri, 06 Apr 2018 07:33:53 -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 S932172AbeDFNg7 (ORCPT + 99 others); Fri, 6 Apr 2018 09:36:59 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:60070 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932132AbeDFNgy (ORCPT ); Fri, 6 Apr 2018 09:36:54 -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 1414C5AD; Fri, 6 Apr 2018 13:36:44 +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.9 096/102] Fix slab name "biovec-(1<<(21-12))" Date: Fri, 6 Apr 2018 15:24:17 +0200 Message-Id: <20180406084344.917815233@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180406084331.507038179@linuxfoundation.org> References: <20180406084331.507038179@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.9-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 @@ -42,9 +42,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