Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp245424lqd; Wed, 24 Apr 2024 00:23:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW+aZ3783qEJTwJSvgYtnNkZjn75yMDal8xMGFjJXactGxah6+OH8vddk0t9i3qwjPZqdtz1nf0/xY7uAuTnu8bVS4Ncwyx+52a4e0dIg== X-Google-Smtp-Source: AGHT+IG6bw2nArhQqznxl6eAZ460+fMLlJU24hWn5wSb8UFQA7c2Ox9XNRkk6iKKl1bcTDh9rDyg X-Received: by 2002:a05:6214:226b:b0:69f:6a4f:9c2f with SMTP id gs11-20020a056214226b00b0069f6a4f9c2fmr8780073qvb.15.1713943380673; Wed, 24 Apr 2024 00:23:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713943380; cv=pass; d=google.com; s=arc-20160816; b=GB1RD+P+mXihK9lU8HZnMeDRR/G/VDcCHgTtIRiQ6SKELiqWT66WvtbxMg8b2ykUgc 091YFOpOQfHwS89wvSX6B97cGQ6shRaheFuaztFdJuKlgkzFFWE45g1d4EQgu6RHn/TD NMrDHJTVAIqM9ub/O0TOKE9Xa20m1L5AlRXFR175E/5D/VzhzeXlEA6PCEKGNQ2TL3pM YsL4pMDm6KVsSheqqovA5bb2dMKMcwT3c3Fds47Kl+dwMqVICOznupL160iYLs6ozmnA r7JeZlNtqHa7d5Qotuw1xXD5EoIqgUR/A2+plY9uIj2R4+ZPRCk46I8aQAT/0Uv6Aae8 o6dA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=f1AFxVzbQ81Ovvgou7CJP5ROLOGavV0XX3iLbBggDEk=; fh=0wOjJUQGRd7QeN1arsPRx7rQrKA1TgjLji2CoUIDPCw=; b=0lKoNG551aUhEbym2TyPxH/YPYq7orvsEftVmmcx2zXxROgnPvP7pW6lO7kNC1CPDL ulwi4JPGyOaxBBsBGmYvVNKjP4uRlJ+P26tljiOdVHj4mXBPDvCeIh96WKW43xZUlGHK qmpRrHZen2Gjo36au0270Sn2WOo/H/1/Q4zsWaNf5/3p6vopWtuk1WNmRftW72N3zp/S 8p737HyrilUZgY7F2Srrs6phEcJ1do/P/cfM9PNB0gZCtmXlByF9RiYou+OFDXcJs1Kz YkWJlMs6Vmxfrcgtl0nFUEbh51z4GAqzSQU+J6tv2+LFgu9eZAD5J0EyyuHlgfu9oqH2 OVww==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-156475-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156475-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id if13-20020a0562141c4d00b006967a8daf00si14776566qvb.78.2024.04.24.00.23.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 00:23:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-156475-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-156475-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156475-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 497D91C240FB for ; Wed, 24 Apr 2024 07:23:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3B0C615884E; Wed, 24 Apr 2024 07:19:46 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 90508157E6C for ; Wed, 24 Apr 2024 07:19:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713943185; cv=none; b=sZgQ94d/RZhr/8JFcalfoDZBFdsDhx1632zDWMcExgpuGSKdVS6+kAkV6LDYUwr51XQ9WhuzMpnVDBVgdrQBBe65IDExgjtO59n7XJhyDDnL9AGFk54uLbTj5LvX+ZpKqbGK0V3ojafWxrVukbMe3/5ocIA0GzMfpBij7DvDzAA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713943185; c=relaxed/simple; bh=peBdXF+tZbOPnP/wixBXjaNOlL9aVdZLMZ7AgmJF0Us=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=f/qIXmoERBcjNO50tYIsmMeRYKT+zztongLKrhg+Ibjk7HNToF0pZ7miqstu0U54KATBs8Rk/U4Wy++cNdJ3UKQ323jcOGhxuKHcQvKs8JBRWKYM6Z4BzBK4AQWG7lTIX/3pu5odJZit58EWsr04mYhpj0TSklH370nF2EE9ABk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rzWul-0003XV-IH; Wed, 24 Apr 2024 09:19:35 +0200 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rzWuk-00E2OB-Mt; Wed, 24 Apr 2024 09:19:34 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rzWuk-007gCX-20; Wed, 24 Apr 2024 09:19:34 +0200 Date: Wed, 24 Apr 2024 09:19:34 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: George Stark Cc: neil.armstrong@linaro.org, khilman@baylibre.com, jbrunet@baylibre.com, martin.blumenstingl@googlemail.com, thierry.reding@gmail.com, hkallweit1@gmail.com, linux-pwm@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@salutedevices.com, Dmitry Rokosov Subject: Re: [PATCH 1/2] pwm: meson: drop unneeded check in get_state callback Message-ID: References: <20240423161356.2522636-1-gnstark@salutedevices.com> <20240423161356.2522636-2-gnstark@salutedevices.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="3xwbvuajde4meb2t" Content-Disposition: inline In-Reply-To: <20240423161356.2522636-2-gnstark@salutedevices.com> X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org --3xwbvuajde4meb2t Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello George, On Tue, Apr 23, 2024 at 07:13:55PM +0300, George Stark wrote: > Drop checking state argument for null pointer in meson_pwm_get_state() > due to it is called only from pwm core with always valid arguments. >=20 > Fixes: 211ed630753d ("pwm: Add support for Meson PWM Controller") > Signed-off-by: George Stark > Signed-off-by: Dmitry Rokosov I'd apply this one with the following changes if you agree: - capitalize "drop" in the Subject line - s/get_state/.get_state()/ - make "null" all caps (i.e. "NULL") - swap the order of Signed-off-by lines to have yours last. Alternatively send it in a v2 together with addressing the comment in the second patch. Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --3xwbvuajde4meb2t Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmYosoUACgkQj4D7WH0S /k7G1gf+PGBuQXOKBKGgHuOhdu/hGX+YqKlLX7bGKVF4a/6Hj5zjVxP2W2WeOd42 o5lwOx0Aby2qxA2/greyP1XODpf86xX9J5CPuk0h9haNt10XVsLP+tzX0bpgorYY ltKCskC3VzFM4L+l7tiSF+8478kLzjpzwKR/lg1jr6ib5IH8g/riSNpJekMstrK6 FUnzSKBW1r01wv8T7OW+cy3f35ygttE//Bii1OSiEGqU/gtouoEtoy2AKZrIwCuP C28ArBOOsUmbVTW/0U9g7wakmNlxaLVqC8kJPVrG4cz5ndaDczWjQV02MlbvrkO/ XaP6LMwi1REygGrxkME/m1VxDaxEVQ== =gKa2 -----END PGP SIGNATURE----- --3xwbvuajde4meb2t--