Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp672055lqs; Fri, 14 Jun 2024 02:02:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXjD4eqH0cYRoqrSaEZFmUMEhtz2kaiZo72hWWGFKBVAvkhx4KGh6H/Nls/y3B23qK4YYGO8T+6D1rkt92Q/CFfULBDCH6OVFrqEwIzCQ== X-Google-Smtp-Source: AGHT+IGXP/wnJw67UgWJmMXy+aOdQFEmjz6BChJAITURZ7qH+80gbQCis/TIhna3X91e3j+c2ADw X-Received: by 2002:a05:620a:24d5:b0:795:38ef:6355 with SMTP id af79cd13be357-798d26b5204mr188110685a.72.1718355733150; Fri, 14 Jun 2024 02:02:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718355733; cv=pass; d=google.com; s=arc-20160816; b=I9HOR5jOjwVL6CHkpdBRIiJKWgSUtIovJs+efqFA+SNL5mLhKTXSAv1JjFNTqsqru8 N+4JEWznC7PDo5KfwMELs4WTmIvCIzQgIQlFrW+QiIwW7HbusZJ+CrS1I55NB1iQDaTp ZhVrSELF9DJxank42FOKh0V7cULTEp1d0aydq56FukYJ5bYG5Publ0aau2r9TImYfo8u qtsmhMWSX5SEHY8mpjVjTmoEFFae1h9q3a6ldFWUfLQreWkYKpt/ByhCFXs2J8awM3Fe x4PVyDO0GPcqKrXzMHfld8JUfR+su0z8+t0HcBYvbxpCRIBWAV5GSH6iEhVwNZhDfpm+ xmcQ== 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:dkim-signature; bh=4GkufYcYiROPgUdoe4VOWKumgL9VxD9lLUKtk5IkCI0=; fh=smoR4j8yLftJG9VCyBB1DpMDxggKHLTpVlVLHhGvUDw=; b=0yX70qLYhNLe0Gr/e/btj0mB2jVuABz6kYxVw/LkeV10TBuhJMPi6Ww1Q+QQbrR9L9 b7GYPiqD58mpjEvqvYHURnaIM9DrnOkHY240mv/owaqjBk/ypfHsHJwouMTcGZ8xAWDR xysica+7sLMvmozA4fiCcmlRxEtuGdcUpccV6cUFlu8LLK/vBVdjAw0BIVmzlK6Hjj+L wX8xZPzNa46c6uYAQpQD5B3GDhtXVMPyQLDAYJ51NPUz7nmWpMFQbZ3bSmk+u4MaAKo2 56Lm6whx2Rwst88AplObcH2yCO+C+k2XxOJ8N9+6g/PkLdS5l2YFF1AYZIV+LLAXtN2T R7lA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=J1MbRS8J; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-214594-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-214594-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-798abd16be7si315466185a.409.2024.06.14.02.02.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 02:02:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-214594-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=J1MbRS8J; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-214594-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-214594-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 CE9961C215A7 for ; Fri, 14 Jun 2024 09:02:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9F67D1922C1; Fri, 14 Jun 2024 09:02:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="J1MbRS8J" Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2B1561487CC for ; Fri, 14 Jun 2024 09:02:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718355726; cv=none; b=Q/bPQW+Dn0oc5KPgt2VQKeE9GvTQztYO+HA6wsKHOAghTHFczuTCOZLwhpmTnFwtaBJvBDGlNRflklhj7+kfNvpIGlSuKN5pS7g7AqLrK4aaIxlNvmKqV1N1m1ydd84y0CkO4AkJhexPtceepG0URonrbWjX9YtvdzIpT3uZ56E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718355726; c=relaxed/simple; bh=X7ORb1Koe6okLnwKX0hTqfYjYrzzPwimwJD21J2gqGM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=IXra8gHKhNjjfHSHDBkTpBXfqOr2z0675tg1DCF63jkm9LrImu6QX++ePJevNyFGxREf1/4OZhTdEOhThXDPVVijF7fLbxf+Qz25Gj0YhbhrA6qD3lLFtKJ1ez/zMwXI3DEqgXyvEW31JE/UaWofz05U232M+kAGOxoqccHruoc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=J1MbRS8J; arc=none smtp.client-ip=209.85.218.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Received: by mail-ej1-f41.google.com with SMTP id a640c23a62f3a-a6f1da33826so290544066b.0 for ; Fri, 14 Jun 2024 02:02:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1718355723; x=1718960523; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=4GkufYcYiROPgUdoe4VOWKumgL9VxD9lLUKtk5IkCI0=; b=J1MbRS8JYXTr8w4Xa1MrIl7DbU1N8d3Pa0sNLTdBu3IzHxTKSljAJaALcaLBUzhxOV TWFHHVIeIx6fBzbrnUoMrinmT0UYMMsyz42cIJwEdLVHFavH0B20B6PglERDcT89qXsf m5FK58boIqd8rM1XHtbfN15c5VEyNNmHifgvcm/lhmu3iC/A/eWXD7jh5EArhWS5ehKD IbGYZYRrNM5jKla4j9RuROkSzSS+UwhXW+lNRLgOXhktms/jO3oogE1FfDE3k1uRm4pm Ye9IqhJR70DDvFhv6XIPiSuCQmQAnltP3UPsBicvO5qzrn1gE/P8KTQAzrXwuq795OeM mpsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718355723; x=1718960523; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=4GkufYcYiROPgUdoe4VOWKumgL9VxD9lLUKtk5IkCI0=; b=mG3iNBd0b2Rp/r1RwlMKOE8KrwG+vuwWw4NnkzQhHxlCSU8edNM8y59EnHWXB75qrg CTfI11bo19BJYzwtL0tneO62ztvRq37ZwmKuB3Iz8mb+m9mIE2SMn0HwowixgynJfYVf ZPnVSONvefIt+ZX1CWbr6ETaVy13LtPE6PtdfOvOx2UitVOpL0mroNt4XX95TBHRMmLd P2sPzEU1WK4LrBzS2xotQ/5Nf+bF+P051ngo6tJUroSiK8kMxWs61fKFG/9uRBTjr2t0 WnSCBDcWUaQlAiH9avgMo3ZsrgJHDV0So6PWPLujSOEPwbqnWYOVr8c3+nxJBQJyLuYR If5g== X-Forwarded-Encrypted: i=1; AJvYcCUPuxcvjaux6jPLZHayv4Bt1h8AreXopJoqKruIVYWuK9Kmc97aGDpPgmbRGNwSkxDhp8zFLVK3x5Rjt+IrDs5yIJRvV9NqqlbUIH1G X-Gm-Message-State: AOJu0Yx3QkJ8aUdI+eIqSlODuS/T3WoODw5gHcCzXFfChc2YPusLTjd6 21dSe6pNqHPPcEeOoEOnJa3rlPYDBUGaM/PPyZnKguuTWGYox9OMbuLxtdUOMK0= X-Received: by 2002:a17:906:c34b:b0:a6f:14b8:a017 with SMTP id a640c23a62f3a-a6f60de601emr158636966b.74.1718355723412; Fri, 14 Jun 2024 02:02:03 -0700 (PDT) Received: from localhost (p509153eb.dip0.t-ipconnect.de. [80.145.83.235]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6f56ed0d7csm161412166b.115.2024.06.14.02.02.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 02:02:02 -0700 (PDT) Date: Fri, 14 Jun 2024 11:02:01 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Jerome Brunet Cc: Kelvin Zhang via B4 Relay , Neil Armstrong , Kevin Hilman , Martin Blumenstingl , Rob Herring , Krzysztof Kozlowski , Conor Dooley , kelvin.zhang@amlogic.com, linux-pwm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Junyi Zhao Subject: Re: [PATCH v8 1/2] pwm: meson: Add support for Amlogic S4 PWM Message-ID: References: <20240613-s4-pwm-v8-0-b5bd0a768282@amlogic.com> <20240613-s4-pwm-v8-1-b5bd0a768282@amlogic.com> <1jfrtgj0so.fsf@starbuckisacylon.baylibre.com> <1jbk44htqr.fsf@starbuckisacylon.baylibre.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="oz7u3unvpzgczlnj" Content-Disposition: inline In-Reply-To: <1jbk44htqr.fsf@starbuckisacylon.baylibre.com> --oz7u3unvpzgczlnj Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Jer=F4me, On Fri, Jun 14, 2024 at 09:24:28AM +0200, Jerome Brunet wrote: > My point here is also that devm_add_action_or_reset() can only fail on > memory allocation, like (devm_)kzalloc. Looking around the kernel, we > tend to not add messages for that and just return the error code, > presumably because those same 'out of memory' messages would proliferate > everywhere. I took your first message in this thread as opportunity to resend a patch improving the situation here. See https://lore.kernel.org/lkml/3d1e308d45cddf67749522ca42d83f5b4f0b9634.1718= 311756.git.u.kleine-koenig@baylibre.com/ Best regards Uwe --oz7u3unvpzgczlnj Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmZsBwUACgkQj4D7WH0S /k4l2wf6AmvkZU5HnDzh5pUZtIQAnaTIqw7xQlIVCPO0cdSS6agRG3SUyEETcbGu RoXED/lTCL16XBBJ6XVo8OEV1Genk9lIi11g6w/Ep5EsQSAgpZ/Vl2JgGvXLLJrF /p5HKP8VYBRpzUE8ss+9f8UI/1F39qwR3dUB6S6beBqq/2/dmTGmZehn281lvw0o a4eAdl4PTFmwdw2XnVbDiAEZsyapV/iUXPqDd4t0Op4MoW9fuAWkNSvPk9BqOp1x THfg5npVz7yjG/DS9LmUrVzb3O/ZFwRmHSpCixFoC5JQ0lEHtGanX07YF4V9trME pvtXzMcajGQH936vjemB8MN7Z4Dnaw== =Hk1f -----END PGP SIGNATURE----- --oz7u3unvpzgczlnj--