Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S943023AbcJ0Od0 (ORCPT ); Thu, 27 Oct 2016 10:33:26 -0400 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:42310 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S941575AbcJ0OUn (ORCPT ); Thu, 27 Oct 2016 10:20:43 -0400 Date: Thu, 27 Oct 2016 15:19:56 +0100 From: Mark Brown To: "Jon Medhurst (Tixy)" Cc: Kuninori Morimoto , Jyri Sarha , Liam Girdwood , linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org Message-ID: <20161027141956.GL25322@sirena.org.uk> References: <1477568568.2908.14.camel@linaro.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="CqfQkoYPE/jGoa5Q" Content-Disposition: inline In-Reply-To: <1477568568.2908.14.camel@linaro.org> X-Cookie: Stay together, drag each other down. User-Agent: Mutt/1.6.0 (2016-04-01) X-SA-Exim-Connect-IP: 2001:470:1f1d:6b5::3 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH] ASoC: hdmi-codec: Fix hdmi_of_xlate_dai_name when #sound-dai-cells = <0> X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: No (on mezzanine.sirena.org.uk); Unknown failure Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 870 Lines: 28 --CqfQkoYPE/jGoa5Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Oct 27, 2016 at 12:42:48PM +0100, Jon Medhurst (Tixy) wrote: > - int id = args->args[0]; > + int id = args->args_count ? args->args[0] : 0; Please write normal if statements for legibility. --CqfQkoYPE/jGoa5Q Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJYEg0LAAoJECTWi3JdVIfQRBEH/RfX4LLKEGy1jBsZpIBfS9gs APHPpV8l/rX0smyLszZZmnFjFi3o3AEf+4bxapeKC00eiz6uVMKNDuCpu+RA0FJ7 LsM+IVy8AUHR/NXAd0xoTPzXO3vBW0jOKy8iMg0nGPKc9tC6cjw5jj2n/PWyAylu QuXcPseqDsSHbjYXxejmFO0qzWOVZ13/tdi3Tq8+tdYp32+QNlIZGG2W2kL5bw9z DUwqyEz5XZlOVOarhP9D2yWzOEkijaKu44+l5w5wIwkL9b63B4bqicRDZfh4SG6g N8OzXs6yYompaMr27oMrI6eXJybOe3aS7sOkZzJm1cPdeeDoRREAjJFqKJK5KaM= =4aYk -----END PGP SIGNATURE----- --CqfQkoYPE/jGoa5Q--