From patchwork Sat Mar 24 00:49:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petr Vorel X-Patchwork-Id: 890360 X-Patchwork-Delegate: hs@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="hkaP2YiY"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 407MJb3Llvz9s02 for ; Sat, 24 Mar 2018 11:50:23 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 1112DC21E68; Sat, 24 Mar 2018 00:50:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H2, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 69E4EC21E60; Sat, 24 Mar 2018 00:49:52 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id B60E7C21DCA; Sat, 24 Mar 2018 00:49:49 +0000 (UTC) Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by lists.denx.de (Postfix) with ESMTPS id 51F93C21C29 for ; Sat, 24 Mar 2018 00:49:49 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id t6so6373282wmt.5 for ; Fri, 23 Mar 2018 17:49:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=gBDvuKq53lNgqCWFzR3K5ZSt/Undr+RkTXwDNdWXBrs=; b=hkaP2YiYFsSpQetXMkZ1BmTiaP9MTSiS56hGzZMIsNaUMw/zCRWSvlXfCqZDh0/pcv bIsyIm59NsA9gmQtQalS8zDRfoaZITX/3ilQyC72EaOMWesQuoP5Pjk7iTIP2a6FZJ3F np0u+9TZT9FvSztYPhZvF56RJ+C6XaAh8nGg8m65QRB2SGAIFyWV+UhGl1r8WHXspa9V 6LDL0+bySApdu7tQku5QesxA00szS2+qIafp4gmRu17cuNbsrAB9W4an5WpL3nuXnc3z /Y104HhzHoZ8UZoMRwC2TOhybPrqUTiVRF77mL0J9kkJSQQrVRUoRPolrV4E2IKW3sc6 zYKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=gBDvuKq53lNgqCWFzR3K5ZSt/Undr+RkTXwDNdWXBrs=; b=Ig94yPNixI3bcVs4nThvYQqpA5IUQU3RUN/FNWY/NGDCOirevhcRGxC5z+8PgzGeoz ej+o1TV2VoP9STboHCF3vsG87QOR0skB/FPAClH1g5hb9Dr9rVEz6SD1WWF5ROigOFNs Adv2Qlkzz/1ywg9T6NAzsvYRg+e+ER/8M+ywEATepmbJCuAZ7eqxlrOXeVW+FyHcqBsu GB7sjJDBw7snxScmQqOSFIMTpnKu+7FFONs82NaiFAyat/VXeVyVVyVgDM58+Qxz8njx IdNb8hOQooiRytJYFlpuuErl2YHuuDI8UgWf20+COsf8F5CiKtEdDQPYHjdjtaYWKC+Q g6cQ== X-Gm-Message-State: AElRT7EPyG9LctxJ1ycKsdSQtzQhVg0K6GjJRpPqS47yt4rXuzmDNWIQ W/AsEOxJhr5Tfm8hyqbpbtPp8A== X-Google-Smtp-Source: AG47ELu8KDLBzOIjpaLUQtPEEq0tg+ynNAmBjIeypdTVa6w0wRVWCyYq7Uwxuggu6VWAcizBHuJAuA== X-Received: by 10.28.143.149 with SMTP id r143mr10342088wmd.24.1521852588830; Fri, 23 Mar 2018 17:49:48 -0700 (PDT) Received: from localhost.localdomain ([85.119.94.113]) by smtp.gmail.com with ESMTPSA id f22sm20765565wmi.39.2018.03.23.17.49.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Mar 2018 17:49:48 -0700 (PDT) From: Petr Vorel To: u-boot@lists.denx.de Date: Sat, 24 Mar 2018 01:49:22 +0100 Message-Id: <20180324004924.7376-2-petr.vorel@gmail.com> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180324004924.7376-1-petr.vorel@gmail.com> References: <20180324004924.7376-1-petr.vorel@gmail.com> Cc: Joe Hershberger Subject: [U-Boot] [PATCH v3 1/3] ubifs: Reintroduce using CONFIG_UBIFS_SILENCE_MSG X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Use of CONFIG_UBIFS_SILENCE_MSG was added in 147162dac6 ("ubi: ubifs: Turn off verbose prints") Then it was removed in ff94bc40af ("mtd, ubi, ubifs: resync with Linux-3.14") Cc: Joe Hershberger Cc: Heiko Schocher Signed-off-by: Petr Vorel --- fs/ubifs/ubifs.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fs/ubifs/ubifs.h b/fs/ubifs/ubifs.h index 1d89465205..b4ce706a8e 100644 --- a/fs/ubifs/ubifs.h +++ b/fs/ubifs/ubifs.h @@ -618,9 +618,13 @@ static inline ino_t parent_ino(struct dentry *dentry) #define UBIFS_VERSION 1 /* Normal UBIFS messages */ +#ifdef CONFIG_UBIFS_SILENCE_MSG +#define ubifs_msg(c, fmt, ...) +#else #define ubifs_msg(c, fmt, ...) \ pr_notice("UBIFS (ubi%d:%d): " fmt "\n", \ (c)->vi.ubi_num, (c)->vi.vol_id, ##__VA_ARGS__) +#endif /* UBIFS error messages */ #ifndef __UBOOT__ #define ubifs_err(c, fmt, ...) \