Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1194022pxb; Fri, 21 Jan 2022 11:58:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJw6gNFEzVAztWUAnIWeZw/5DH4dMXML+VLhLG6ZigE4/NfjbmXTjNBZA8cva81PJcsIH2KD X-Received: by 2002:a05:6a00:88f:b0:4bc:3b4e:255a with SMTP id q15-20020a056a00088f00b004bc3b4e255amr5182042pfj.79.1642795125350; Fri, 21 Jan 2022 11:58:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642795125; cv=none; d=google.com; s=arc-20160816; b=S7W1PNF9ZjDkwbg+eGDIggf97a3SD0PHtpJ+Eytc+mXDspvnNSlfzxuvIozR9Eq2Ep tXPGgXr2PFVUOvrMSDPAfx+pEWhFGI01A9Rf+AQuwa+rLB+mJotzFdrEzKUqF6stVSN6 dK277A9WOFrzs9kM2Texz5rbu82xlK64fhItRrP905B73nxAoxFFwGh/+AUEFssew4Ai nHZxHFzjIJNONXXvObPHeXwhLDDF2uN1LySNg9oUrqyzIMDN7bokB9zHMRlgb40RNFZs YtA1Ae1G57ma2H3YdY2a8QwrHl/LtMZBYWMSDzIzmWD1PXSVwtTFQUb1Z+Kf3OyqS1Z8 L4tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=U+8BgV3Y4OQWkaQ9X31jHMCSzV2GqisZ3zmZR0sg8Yk=; b=FhDhGly5527NulvWt2TRxIp7OruBbJ8X6OEqC85htkCQiPT3F2zIQQpUZ7QkFnDkae M3W/bKc7KO7QXb85mzpj6YJMcYQiqlJbWF5MpyxLSJzXtLfvxXSfjv2HihFe+zj39F7o SI6p+I2XK8H353FZAojGmhPs5N+gAScQhYjW/astNBij4oNNmyhixcv4/JnhF2hP4GXo 6xo26FjdrprOYWAgaV9Oz/wsnOC8Kz4+Fm/193r92ryoLYS1NqPxngZft8UDApuXcSeg 7oM4lgU/2n6xVX+Pj4r61Xn0GtF/wzX+gvmR2nGnKETis5/+cNexxuUwKpZsncLTs1++ QmhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=LAc+xMae; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w25si6847670pgk.153.2022.01.21.11.58.33; Fri, 21 Jan 2022 11:58:45 -0800 (PST) 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; dkim=pass header.i=@intel.com header.s=Intel header.b=LAc+xMae; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237968AbiASTPA (ORCPT + 99 others); Wed, 19 Jan 2022 14:15:00 -0500 Received: from mga17.intel.com ([192.55.52.151]:44491 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230121AbiASTO5 (ORCPT ); Wed, 19 Jan 2022 14:14:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1642619697; x=1674155697; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=UxCJC6eWdEdNah12KsCkH6nSMwzBaq9zmFaRweUROSw=; b=LAc+xMae98biOIe5+1js4+13ymMtQfOZSUQURTlSus0gzNjipYYXMVRV NyUait10iKdR/90KFN5Y1m05QCfp6q3qzq7aMUxV770tU54G7cYAhQtgv pVX9FLJ0gZMdqxMkdJ7QwAtl/ocGGTqCzwLfUnZfBNXYBI0aw53UzRHZQ htJvPpqnvZya6hmULFQD4Y5jo22ao12AxEHZ9RcdHd8qayiqfi6f/Vn+H HDDeAnxl7jb2W+TuQI/wswZl5zM/+T11pBUstVIHHX+nQ191zFUOLeEu4 6a2gQVcdPCcvCyM7pE+7iucp6314FpQtnvO2DoPSUNQBK5Y2BdxezH8ST w==; X-IronPort-AV: E=McAfee;i="6200,9189,10231"; a="225834857" X-IronPort-AV: E=Sophos;i="5.88,300,1635231600"; d="scan'208";a="225834857" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jan 2022 10:38:30 -0800 X-IronPort-AV: E=Sophos;i="5.88,300,1635231600"; d="scan'208";a="518285423" Received: from smile.fi.intel.com ([10.237.72.61]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jan 2022 10:38:09 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.95) (envelope-from ) id 1nAFpH-00CDps-NH; Wed, 19 Jan 2022 20:36:55 +0200 Date: Wed, 19 Jan 2022 20:36:55 +0200 From: Andy Shevchenko To: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Cc: Sergey Shtylyov , Florian Fainelli , Mark Brown , Andrew Lunn , Ulf Hansson , Vignesh Raghavendra , KVM list , "Rafael J. Wysocki" , linux-iio@vger.kernel.org, Linus Walleij , Amit Kucheria , ALSA Development Mailing List , Jaroslav Kysela , Guenter Roeck , Thierry Reding , MTD Maling List , Linux I2C , "open list:GPIO SUBSYSTEM" , Miquel Raynal , linux-phy@lists.infradead.org, netdev@vger.kernel.org, linux-spi , Jiri Slaby , Khuong Dinh , Mauro Carvalho Chehab , Matthias Schiffer , Kamal Dasu , Lee Jones , Bartosz Golaszewski , Daniel Lezcano , Kishon Vijay Abraham I , Geert Uytterhoeven , "open list:SERIAL DRIVERS" , bcm-kernel-feedback-list , Zhang Rui , platform-driver-x86@vger.kernel.org, Linux PWM List , Robert Richter , Saravanan Sekar , Corey Minyard , Linux PM list , Liam Girdwood , John Garry , Takashi Iwai , Peter Korsgaard , William Breathitt Gray , Mark Gross , Hans de Goede , Alex Williamson , Borislav Petkov , Jakub Kicinski , Matthias Brugger , openipmi-developer@lists.sourceforge.net, Benson Leung , Pengutronix Kernel Team , Linux ARM , linux-edac@vger.kernel.org, Tony Luck , Richard Weinberger , Mun Yew Tham , Eric Auger , Greg Kroah-Hartman , Yoshihiro Shimoda , Cornelia Huck , Linux MMC List , Joakim Zhang , Linux Kernel Mailing List , Linux-Renesas , Vinod Koul , James Morse , Zha Qipeng , Sebastian Reichel , Niklas =?iso-8859-1?Q?S=F6derlund?= , linux-mediatek@lists.infradead.org, Brian Norris , "David S. Miller" Subject: Re: [PATCH] driver core: platform: Rename platform_get_irq_optional() to platform_get_irq_silent() Message-ID: References: <20220112085009.dbasceh3obfok5dc@pengutronix.de> <20220112213121.5ruae5mxwj6t3qiy@pengutronix.de> <20220113110831.wvwbm75hbfysbn2d@pengutronix.de> <20220113194358.xnnbhsoyetihterb@pengutronix.de> <745c601f-c782-0904-f786-c9bfced8f11c@gmail.com> <20220115135550.dr4ngiz2c6rfs2rl@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220115135550.dr4ngiz2c6rfs2rl@pengutronix.de> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jan 15, 2022 at 02:55:50PM +0100, Uwe Kleine-K?nig wrote: > On Fri, Jan 14, 2022 at 08:55:07PM +0300, Sergey Shtylyov wrote: > > On 1/14/22 12:42 AM, Florian Fainelli wrote: > So you oppose to the name chosen, but not the renaming as such. I oppose the name change. The unneeded churn right now since it won't fix the issues with the underneath API (platform_get_irq() in this case) and will require one more iteration over callers again. The main issue that platform_get_irq*() returns magic error code while treating 0 in a very special way (issuing WARN() and considering it as a successful cookie) and this all is quite confusing. If you are going to fix the underlying issue, welcome! Now I see only the step to somewhere. I.o.w. this change _standalone_ makes no sense to me. -- With Best Regards, Andy Shevchenko