Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1195120pxb; Fri, 21 Jan 2022 12:00:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJzi9s+MsByjdiA0WgzPhh9brGeTVkZ2x2eGdZ/lfFKyoy8506EF5GQEdzanOeS3i5Cm1Cf3 X-Received: by 2002:a17:902:d4d2:b0:14b:1fa8:7552 with SMTP id o18-20020a170902d4d200b0014b1fa87552mr3801126plg.24.1642795228457; Fri, 21 Jan 2022 12:00:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642795228; cv=none; d=google.com; s=arc-20160816; b=Uts6gY03U6eysnVrFCbYf0ehikqq9B/lZzm1zs8vD39YGefd+tTsErTt5tv3RvxPkD xltAhTF6blidwGcHmD5r8w72QSnVU0FOem7bUh2xzxo/W5dGw4VRIEMP4+DNKvto7ZuM kI4tA5QS124jImvM4f/3EKZEHEwo1IfcPiccGx/G59pQlaE0rF8vxN/ikLURVuVDIH2O o9kqq43zFTQq8XzGjysO2lwqpGhddcyOiEg0KIfAVRGgATTyaKTYLQ76GXl/SHLOEBbv N+lKAYpdTrU604LCa5MhL+FKdzbsPFFvDduo26zTPMxuEUT5IO2jQR1Xm9MGGcS021pE VxUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject:dkim-filter; bh=aoIJ9Ue2YBlGZzriV5L27kJz77uDFP1ZfqzdblGiphk=; b=Z61QHNfYXwzGCbamUpQDs8Ou/moqqWzwlivteihUgF3KgsDt4bG/Ik3IuCtgUlw45a Ko7LZFkiFKyX3tuMgKOABIm3whE3m9FAmB7bD3jobi0XrS76y9UBzJUkTR01IhBLODii DJM6m/5TTLLOxRSr4/lMd3n2DPfO8pwvqZ8+icpy6S+RMa2iNRrnMUCbK2O5VL0xPWfC VPeLKNT8LQoxZKTOUjj+smuS7c1DE/BpS7IpqBehEcf+REvfxcTBZYPOg2DZC4lXFI77 msQfhUprMffmA0cWTmv9KROrcAvEn02N5nhu0vb1iIUw5HAHtfjDx0suBNohiHL/I7VM d95Q== 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 n16si7582082plf.281.2022.01.21.12.00.16; Fri, 21 Jan 2022 12:00:28 -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; 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 S1357173AbiASToY (ORCPT + 99 others); Wed, 19 Jan 2022 14:44:24 -0500 Received: from mxout04.lancloud.ru ([45.84.86.114]:56710 "EHLO mxout04.lancloud.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241622AbiASToP (ORCPT ); Wed, 19 Jan 2022 14:44:15 -0500 Received: from LanCloud DKIM-Filter: OpenDKIM Filter v2.11.0 mxout04.lancloud.ru EF17920AF1B5 Received: from LanCloud Received: from LanCloud Received: from LanCloud Subject: Re: [PATCH] driver core: platform: Rename platform_get_irq_optional() to platform_get_irq_silent() To: Andy Shevchenko , =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= CC: Florian Fainelli , Mark Brown , Andrew Lunn , Ulf Hansson , "Vignesh Raghavendra" , KVM list , "Rafael J. Wysocki" , , 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-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 , , 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 , , Benson Leung , Pengutronix Kernel Team , "Linux ARM" , , 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" , =?UTF-8?Q?Niklas_S=c3=b6derlund?= , , "Brian Norris" , "David S. Miller" 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> From: Sergey Shtylyov Organization: Open Mobile Platform Message-ID: <7af331f5-5800-fe17-d05d-40d971d49890@omp.ru> Date: Wed, 19 Jan 2022 22:44:06 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.11.198] X-ClientProxiedBy: LFEXT01.lancloud.ru (fd00:f066::141) To LFEX1907.lancloud.ru (fd00:f066::207) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello! On 1/19/22 9:36 PM, Andy Shevchenko 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. I have a patch for that -- to which you were hostile for some reason I still can't understand. :-) > 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. We already have a fix, no? It just hasn't been applied still... :-) Without it the 2 patches dealing with *_optional() don't have much sense. MBR, Sergey