Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp13929729pxu; Mon, 4 Jan 2021 08:13:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJyqiKdglBP9/Xv3Q9WcvmeZe0+SEQedQI/EuJK/BkEJI2w5M5lB5olavtAPeWwxc9AvK3A9 X-Received: by 2002:aa7:dcd0:: with SMTP id w16mr72045581edu.229.1609776797273; Mon, 04 Jan 2021 08:13:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609776797; cv=none; d=google.com; s=arc-20160816; b=oEIjnVpab7dwDoREOD/wK665eqKTkKZd9WBwuJ7JwhLi7Mao3ZcW3u6Ak8oapQjDjo yJPd8BuSeii3vP7Wx65IOhOFJGGE1t176B4YzKyzTAN74y/fKGeyh7YqI5kl7gaNmRLg pDmzVgGpFXhTE4uXIsThGl/4WXef0H75l//oPLVAXoI3nCbTpNz1+GQBbuJDQzdPD117 +xOw4LuYCZxeAVin44zt7eek1/SD51iKa7zUxRXF4yGbrDN35/98qdypy9ein6XmAKJf ii5eMyl5T8BuPjzmENtaBIQkRYWFc1874QS69GBKgdkqSEbPr6iyCTWQzoGy8ddgVVPp wRug== 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=WeJsH3G3PiqLF+JTYdvBdW5KmQJYRRTkujhI6mtiAYg=; b=xdoMMUWcouoFQWvYyp0xE4J5zuYjy6UwzzVEu9Ex7YaobEJv0adyClOXRfSiYMlWI7 dK7S6CAe1N3ylAbvGhFv4YLI2g2X7GAG6YMZOXTQGvHlLO5Fs+G0+fybOWoaxz7EvmbC 4dhHWaqyirR652ChM9+ox/3C9Y9WIXj5Uj080vPhZlLwM1BJQuCP/2Zs4yhYp7BBgf7b GPrqz2mru/eYWEL3gDkXzqcwkwYkGV87xYaSVmGrslKHrnN7dZ/OyNPhbSiLFb8W0KFu E/O+9se8KM3Pvp5UAgtvkHdsWNOiUq0wdYEzWp0TklcFTh7Akt9xJMeYxGEAouDh1HVz dSJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=J82aRpt7; 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 kt26si25437886ejb.443.2021.01.04.08.12.53; Mon, 04 Jan 2021 08:13:17 -0800 (PST) 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=J82aRpt7; 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 S1727783AbhADQA5 (ORCPT + 99 others); Mon, 4 Jan 2021 11:00:57 -0500 Received: from mail.kernel.org ([198.145.29.99]:38056 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728461AbhADQA4 (ORCPT ); Mon, 4 Jan 2021 11:00:56 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7B2D922512; Mon, 4 Jan 2021 16:00:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609776015; bh=XG1sYVOBq0ov/YU6XesQbxeE0/DNtw3YrRR3+Q8Le90=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=J82aRpt7F8IP7bnqTGv7mfaou5Wx6DHdomRrkYbA+8cL6Ooxm0q/6uKCruMYwmeCC Qb82yPXai3TgO6IhgCcpjY59h3x2yRcSzohZqiyWTfxb0PGtQKY2m02IDchBw5eClG PFg/IitJavG59DsVFHSMNloLyeyDhxlCKNw4n6tI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, syzbot+3fd34060f26e766536ff@syzkaller.appspotmail.com, Randy Dunlap , Dmitry Vyukov , Al Viro , "Tigran A. Aivazian" , Andrew Morton , Linus Torvalds Subject: [PATCH 5.4 32/47] bfs: dont use WARNING: string when its just info. Date: Mon, 4 Jan 2021 16:57:31 +0100 Message-Id: <20210104155707.286492040@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210104155705.740576914@linuxfoundation.org> References: <20210104155705.740576914@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: Randy Dunlap commit dc889b8d4a8122549feabe99eead04e6b23b6513 upstream. Make the printk() [bfs "printf" macro] seem less severe by changing "WARNING:" to "NOTE:". warns us about using WARNING or BUG in a format string other than in WARN() or BUG() family macros. bfs/inode.c is doing just that in a normal printk() call, so change the "WARNING" string to be "NOTE". Link: https://lkml.kernel.org/r/20201203212634.17278-1-rdunlap@infradead.org Reported-by: syzbot+3fd34060f26e766536ff@syzkaller.appspotmail.com Signed-off-by: Randy Dunlap Cc: Dmitry Vyukov Cc: Al Viro Cc: "Tigran A. Aivazian" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- fs/bfs/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/fs/bfs/inode.c +++ b/fs/bfs/inode.c @@ -351,7 +351,7 @@ static int bfs_fill_super(struct super_b info->si_lasti = (le32_to_cpu(bfs_sb->s_start) - BFS_BSIZE) / sizeof(struct bfs_inode) + BFS_ROOT_INO - 1; if (info->si_lasti == BFS_MAX_LASTI) - printf("WARNING: filesystem %s was created with 512 inodes, the real maximum is 511, mounting anyway\n", s->s_id); + printf("NOTE: filesystem %s was created with 512 inodes, the real maximum is 511, mounting anyway\n", s->s_id); else if (info->si_lasti > BFS_MAX_LASTI) { printf("Impossible last inode number %lu > %d on %s\n", info->si_lasti, BFS_MAX_LASTI, s->s_id); goto out1;