Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp2579445pxv; Sat, 3 Jul 2021 13:29:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYOlzdyctkmT53cfAHoXtIWgO0Z72UbYF2AyKUJ6jWwfeTEi7SxVPJowR5Gd5BoaHIbLxp X-Received: by 2002:a05:6402:90c:: with SMTP id g12mr6843487edz.371.1625344156328; Sat, 03 Jul 2021 13:29:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625344156; cv=none; d=google.com; s=arc-20160816; b=a4ukf1eqA6M9SLXrJdYuJXIVcNOWshssDPot7PNObhNP0RPJaMmuViUX6+PDdGgjdM cB0kAW6rv2es/OXTd8XOs4/7djrzvUfCTV6cP7cwWFrHJUwnNoGjBXhSRt3CEYohunWg Z+WMXmpLKICRefnpdIelik9tiPvh7UDcYHkyxhDkmuaYki3nxleSY+6fgYfAx1onEI1K Ynvm8nJEdBCZv3f4DydO3PHP4eOpeAfWb40vKyo7wLRAXP7CC3N3PZAAvfLAH0jneLGW KlphaYJMPOce3Tec6ACycYNGEEcRPkmpaeBCEv6+OlCF+1MmBGjtF8hwHCk8hPlTWjP3 Kzcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=+d/E8jCkkMmust9xj6VdY12GndJ+mjnw7FbPGTkYrMo=; b=u2JKmbnoRBVQnaQiUdbIaaUSpCPIuCsmVTkXqRLGR6EuMYqO4DzHWxhqp3WVxhTIZi +XJQmwy0XvAblrHb9YjmatKD3bEACitP543NN51f4W9ueYF8xfBnxsM5p1j3lLJmfFPX 8YtotmY+ployhN18sYaR8nuMrxvpzZk9Vf9lD0iHB0PGl7vtHaBqXqXF7a4uKNVTtIct rbAlB6OBlhT972tlZKPZN5hLhHBh07AqKgG35mVHaLEIALwl1YP/KrG5ITwmKU+PhZBZ w2wQJooFNGdGRQFwPcSfsBAOX+GsyReSruL+yse4NyNb1c0ZEFiNR23dRJc7D42h/MjF FzWg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i26si6435916ejx.330.2021.07.03.13.28.40; Sat, 03 Jul 2021 13:29:16 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229562AbhGCUWA (ORCPT + 99 others); Sat, 3 Jul 2021 16:22:00 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:34096 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229473AbhGCUV7 (ORCPT ); Sat, 3 Jul 2021 16:21:59 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id D82131C0B79; Sat, 3 Jul 2021 22:19:24 +0200 (CEST) Date: Sat, 3 Jul 2021 22:19:24 +0200 From: Pavel Machek To: David Rivshin Cc: Jiapeng Chong , linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] leds: is31fl32xx: Fix missing error code in is31fl32xx_parse_dt() Message-ID: <20210703201924.GB6707@amd> References: <1622545743-21240-1-git-send-email-jiapeng.chong@linux.alibaba.com> <20210603171010.37fbf545.drivshin@awxrd.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4bRzO86E/ozDv8r1" Content-Disposition: inline In-Reply-To: <20210603171010.37fbf545.drivshin@awxrd.com> User-Agent: Mutt/1.5.23 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --4bRzO86E/ozDv8r1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu 2021-06-03 17:10:10, David Rivshin wrote: > On Tue, 1 Jun 2021 19:09:03 +0800 > Jiapeng Chong wrote: >=20 > > The error code is missing in this code scenario, add the error code > > '-EINVAL' to the return value 'ret'. > >=20 > > Eliminate the follow smatch warning: > >=20 > > drivers/leds/leds-is31fl32xx.c:388 is31fl32xx_parse_dt() warn: missing > > error code 'ret'. > >=20 > > Reported-by: Abaci Robot > > Signed-off-by: Jiapeng Chong >=20 > Good catch! >=20 > Acked-by: David Rivshin >=20 > You might also want to add a: >=20 > Fixes: 9d7cffaf99f5 ("leds: Add driver for the ISSI IS31FL32xx family of = LED controllers") > Thanks, applied. I added the fixes tag, too, but I'm not sure if this is suitable for stable. Best regards, Pavel --=20 http://www.livejournal.com/~pavelmachek --4bRzO86E/ozDv8r1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAmDgxksACgkQMOfwapXb+vLjjgCfRhl0qrU1u1h5MdLvoCpAGELO sMoAoLYCtxj5EZaa5uNSk+QY2FSEcDz0 =6JYb -----END PGP SIGNATURE----- --4bRzO86E/ozDv8r1--