From: Takashi Iwai Subject: Re: [PATCH 3/6] ALSA: pcm: Adjust 11 checks for null pointers Date: Wed, 23 Aug 2017 10:35:00 +0200 Message-ID: References: <800d7aa6-d8f2-cbf5-caaa-7e4006976e68@users.sourceforge.net> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: SF Markus Elfring Cc: alsa-devel@alsa-project.org, Arnd Bergmann , Arvind Yadav , Dan Carpenter , Ingo Molnar , Jaroslav Kysela , Takashi Sakamoto , Vegard Nossum , kernel-janitors@vger.kernel.org, LKML List-Id: alsa-devel@alsa-project.org On Wed, 23 Aug 2017 10:25:49 +0200, SF Markus Elfring wrote: > > From: Markus Elfring > Date: Wed, 23 Aug 2017 09:28:00 +0200 > MIME-Version: 1.0 > Content-Type: text/plain; charset=UTF-8 > Content-Transfer-Encoding: 8bit > > The script “checkpatch.pl” pointed information out like the following. > > Comparison to NULL could be written … > > Thus fix the affected source code places. > > Signed-off-by: Markus Elfring Converting only these alone doesn't give any big merit. Another patch in the series fixed the style if ((err = xxx)), so it's fine, though. checkpatch is no bible, after all. thanks, Takashi