From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752647AbdJSNiw (ORCPT ); Thu, 19 Oct 2017 09:38:52 -0400 Received: from mx2.suse.de ([195.135.220.15]:37186 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752302AbdJSNiv (ORCPT ); Thu, 19 Oct 2017 09:38:51 -0400 Date: Thu, 19 Oct 2017 15:38:49 +0200 From: Petr Mladek To: Masahiro Yamada Cc: Andrew Morton , Ingo Molnar , Sergey Senozhatsky , Steven Rostedt , Linux Kernel Mailing List Subject: Re: [PATCH] printk: simplify no_printk() Message-ID: <20171019133849.GA2795@pathway.suse.cz> References: <1505660504-11059-1-git-send-email-yamada.masahiro@socionext.com> <20171002145627.GG8637@pathway.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 2017-10-19 19:48:15, Masahiro Yamada wrote: > Hi Petr, > > 2017-10-02 23:56 GMT+09:00 Petr Mladek : > > On Mon 2017-09-18 00:01:44, Masahiro Yamada wrote: > >> Commit 069f0cd00df0 ("printk: Make the printk*once() variants return > >> a value") surrounded the macro implementation with ({ ... }). > >> > >> Now, the inner do { ... } while (0); is redundant. > >> > >> Signed-off-by: Masahiro Yamada > > > > Looks fine to me. The return value is slightly more visible now ;-) > > > > Reviewed-by: Petr Mladek > > > > JFYI, I have pushed it into for-4.15 branch. > > > > Best Regards, > > Petr > > > A minor problem. > > I think "Reviewed-by: " is missing before Sergey. Great catch! Thanks for double checking! > I am not sure if this is too late, or not... Just pushed a fix. Best Regards, Petr