Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp157240lqp; Fri, 12 Apr 2024 13:30:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVr8oAh4oFDjJEWF4h8z8fG8za3gMuJ7W3xlJREINUt9NMif89EOVaCijZNqO3Iu/uk1RvlBK71sUeU7G0i1RBKA7xfnoeJpdxcEctObQ== X-Google-Smtp-Source: AGHT+IEDerTJHEaJQSGVdZs6h/Yrk2k9D44TkInsEIayfh9cJG2i8KJ8YQj4AMFaXnsGZqp+M2ZY X-Received: by 2002:aca:1c0f:0:b0:3c6:d7b:7f4e with SMTP id c15-20020aca1c0f000000b003c60d7b7f4emr3799860oic.4.1712953836289; Fri, 12 Apr 2024 13:30:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712953836; cv=pass; d=google.com; s=arc-20160816; b=xAsDL60tWbTGZ0Vv6fdZurUG9m1CHBfCayeBIT3AxrWWmpgBO+XNLnm1Wg2WnqR2ED j+AMzvRPAqI/8WtnHRdqrWv6sWhtxBIb6sXDybwfljUyyaeu2ww3tuqXsZONlS0WeqW5 O7r7iM2Pxk+zC9NyexDtaSCZCi0ismJz7lu//qkJmz4HHMbNTmmOLwZCT/g24F5ndGpr TqdDvEYLgbvCYRYqXcIF19c9T9BpCUZc5TT8D8mPTsUATJv0giq1qrjjUpFzxrqgBTmz TRe2eLk7lqS1M/KpGCiIkcM7n0VYaRjLTK7zZ3FPgAm9702aXJ7IrA+DE8tdRirX5K9u +iRw== 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=uKbjTsgGpx3ybNY23TIwGHjzn23BBpVc8lLmsTkrPCY=; fh=FknS18zO7G967aTXSrBggDdJSo3FiBBFa8kLBZyVjmQ=; b=lFrHlw9+guNQ5xnX5Jb93zHUyN5L+3gynewV3SJTLRXhZ1VQFgnJ/FZYRCglR4xlXz BAmK2s/7BkaGTfxqL8zB2SWoVn2H/FtPKIx95sqUAVz0dei5Ljep+969LQyO4u6NSW7t KsxQKyszrD+RfdeCdWRwenYsRFx5P9VrdEW24DyWbXf4mK/QPCstWdrdzUvGAhFq80Wz czolDNKsk3Y1Ir1d6kEjHSoBQcPtxSdjHFYNU+pV0pCaE4s9zaDe7Gnbs3g6r2yl21F6 K0j9fsoeDdg2LV9rP8jGNTLFkIQqoZWsTIOz9UHR0W/XSO8dw7vB6nYYKAmtEvTQGtML WltQ==; 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-143312-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143312-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 b13-20020ac87fcd000000b00436a3aee831si1447725qtk.104.2024.04.12.13.30.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 13:30:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-143312-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; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-143312-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-143312-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 0407D1C212A5 for ; Fri, 12 Apr 2024 20:30:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 668301DFFC; Fri, 12 Apr 2024 20:30:30 +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 C4B1AD27E for ; Fri, 12 Apr 2024 20:30:26 +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=1712953829; cv=none; b=m0aaGMBZ/ketFxE2KJgAnTLjqIqnvAcUujlMBW3qjcIYXPDJ0Pt9VH9JB1JjNiFIFtt/WgldlMimfiwYjsGwCdyDclraJaSHRBF9ea26BVnNS28bYVUA1XSSisB/eUqSu8Wms4XpPk13I70kN5HuOL/f26ida4ji677eOiLhl70= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712953829; c=relaxed/simple; bh=Cs1zT7/fjRjge6O3CNoa3M5uBsQMm5ploTrUE1rc1n4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=gu8XDKCPLAiiLmu2rpM3/b27v2AViEdzacZr88iHk2t57KmFU85/xdpfdozAxRlGh43HKeNOPmROvVoXv2rtmYF0L3xCRS0JaQDskPrn8ursLW6PAnPOkqiJ7+CPHK1bFpwGgh9WtXieracyXIYyU0ctQ/8rjmYMkCE/dlRUcC4= 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 1rvNXM-00014Z-WC; Fri, 12 Apr 2024 22:30:17 +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 1rvNXL-00BwIK-JL; Fri, 12 Apr 2024 22:30:15 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rvNXL-000N6u-1d; Fri, 12 Apr 2024 22:30:15 +0200 Date: Fri, 12 Apr 2024 22:30:09 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Andy Shevchenko Cc: Greg Kroah-Hartman , Raag Jadav , linux-kernel@vger.kernel.org, kernel@pengutronix.de, "Rafael J. Wysocki" Subject: Re: [PATCH] driver core: Make dev_err_probe() silent for -ENOMEM Message-ID: References: <20240412164405.335657-2-u.kleine-koenig@pengutronix.de> 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="454j43ssc3prmpek" Content-Disposition: inline In-Reply-To: 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 --454j43ssc3prmpek Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, On Fri, Apr 12, 2024 at 08:53:03PM +0300, Andy Shevchenko wrote: > Hmm, but why macro? Shouldn't compiler be clever enough to see it even for > the exported function? If it's in the .c file only, the compiler doesn't know about it when compiling the dwc pwm driver ... Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --454j43ssc3prmpek Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmYZmccACgkQj4D7WH0S /k6jNAf/bVIC3/s1ikuJGlsCMDg2EYaVKxhXraHv68wJqqeakFnEcXYHEyWXBG2+ osmNIeBScDf13TL4JOjoXmXFlrP4vVNbwryKnKlMEmcgcPQdpY04Kbn1WMwnHlv7 F58+OeyDn0MC09Lwl5sUL+WaiOM+TLyfgDx543HyL/YhzzX/PxQn6YaXYAOHmJiF XYgSfXlWkATetd7JCi/s9WyAzDAk1KK8zfZOg536E/fK1YDU7iqaoImgf50cITj6 jEcUwZJNg5DBQxOuFWMMp72fk5tVx2p8yVUsyYuDREkthHz1luWknfR5xj8cKwQd g8Zam+eaRV1qHkq4sHmM3b16OsCcaA== =rCYj -----END PGP SIGNATURE----- --454j43ssc3prmpek--