Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1163666pxb; Fri, 21 Jan 2022 11:12:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJyGC7DV/zE7H4jFV+NPFNJLojWUkONKnmU8howJUNmiP5hTCaKCtN7WsEq9QhZ+D3GhxnWw X-Received: by 2002:a05:6a00:1a52:b0:4c6:a871:b5db with SMTP id h18-20020a056a001a5200b004c6a871b5dbmr4757222pfv.66.1642792322841; Fri, 21 Jan 2022 11:12:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642792322; cv=none; d=google.com; s=arc-20160816; b=lFGbSX44ASacbtnQNYsDmhCoWGm7ftgxye4x+iRuDgznd3ykwBQPpnW4XIu7ws/0xU KH0tF90Gg9s/z+78o2ohsmVql6pzIoXQMVT/EYNvluJnfnZbBlkN3sAe/OhcQapqKOo2 umRSzRLcreN0+Oqwk2ALqALDK+ObjrJyPhxv9EfK7rKnxQaB1EsIeJy6gzO1zaCiSpqP M4tWdARXkpIR/ae/nNetxLhDVJb4AS/GnW+W3MfKeNp1gjfQvEC7AdKeJqEsK9syNCFr 1rR1I2++GA84kgonRiWs1OLHC0QeouwrT5t1m8G9eNdRHRniTKMzGSulwPefib0NfLUZ EcmA== 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=KO6R821R4QTYXfgeq6Akr2WRgeqMVr/9I7oDAWh8F9c=; b=MHal4geG8aBaNlfBC3c3axiYrmUapJik8Zzc+AYHBX7G3FwsqirGiVPBBThEYyzyGr UelMOF0guRone1kpO+APP2BdGDjXgU0sNuFvoyWpjrW4uRQw/oUI2ZdIQGBaHyIUi6l1 gBPFucuul5m5qXtTdRUw9GunNmKAaFj7ELxmIAkjKDeLyjs1wzdaVpcaW40zwF86xwat Im3tM/O1AVpLOl7e/G5cxrstJM4qoPgwpOww0gbFXI/kyJoupHKC3Eu5pov+xl+FE6Bz 4y4pOlDp4+1N5wQJctmjbNNXs/i6Q8fFKF+PbeR1aHRpX0ijyWmMHPEJqh4hJpqG6Tgq e4SA== 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 pg13si9210304pjb.63.2022.01.21.11.11.50; Fri, 21 Jan 2022 11:12:02 -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 S1354268AbiASLm1 (ORCPT + 99 others); Wed, 19 Jan 2022 06:42:27 -0500 Received: from mxout03.lancloud.ru ([45.84.86.113]:32826 "EHLO mxout03.lancloud.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236274AbiASLmT (ORCPT ); Wed, 19 Jan 2022 06:42:19 -0500 Received: from LanCloud DKIM-Filter: OpenDKIM Filter v2.11.0 mxout03.lancloud.ru 3B47720D46BF Received: from LanCloud Received: from LanCloud Received: from LanCloud Subject: Re: [PATCH 1/2] platform: make platform_get_irq_optional() optional (summary) To: =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= CC: Greg Kroah-Hartman , Andrew Lunn , Ulf Hansson , Vignesh Raghavendra , , "Rafael J. Wysocki" , , Linus Walleij , Amit Kucheria , , Andy Shevchenko , Joakim Zhang , Guenter Roeck , Thierry Reding , , , Miquel Raynal , , , Lee Jones , , "Khuong Dinh" , Florian Fainelli , Matthias Schiffer , Kamal Dasu , "Jiri Slaby" , Bartosz Golaszewski , "Daniel Lezcano" , Kishon Vijay Abraham I , , , Jakub Kicinski , Zhang Rui , "Jaroslav Kysela" , , Hans de Goede , Robert Richter , Saravanan Sekar , Corey Minyard , , Mauro Carvalho Chehab , "John Garry" , Peter Korsgaard , "William Breathitt Gray" , Mark Gross , , Alex Williamson , Mark Brown , Borislav Petkov , "Sebastian Reichel" , Matthias Brugger , "Takashi Iwai" , , Benson Leung , , , Tony Luck , Mun Yew Tham , Eric Auger , , Yoshihiro Shimoda , Cornelia Huck , , Liam Girdwood , , , "Vinod Koul" , James Morse , Zha Qipeng , Pengutronix Kernel Team , Richard Weinberger , =?UTF-8?Q?Niklas_S=c3=b6derlund?= , , "Brian Norris" , "David S. Miller" References: <20220110195449.12448-1-s.shtylyov@omp.ru> <20220110195449.12448-2-s.shtylyov@omp.ru> <20220115183643.6zxalxqxrhkfgdfq@pengutronix.de> <20220118091819.zzxpffrxbckoxiys@pengutronix.de> <20220119113314.tpqfdgi6nurmzfun@pengutronix.de> From: Sergey Shtylyov Organization: Open Mobile Platform Message-ID: Date: Wed, 19 Jan 2022 14:42:09 +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: <20220119113314.tpqfdgi6nurmzfun@pengutronix.de> Content-Type: text/plain; charset="windows-1252" Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [192.168.11.198] X-ClientProxiedBy: LFEXT02.lancloud.ru (fd00:f066::142) To LFEX1907.lancloud.ru (fd00:f066::207) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/19/22 2:33 PM, Uwe Kleine-K?nig wrote: [...] >>>>> A possible compromise: We can have both. We rename >>>>> platform_get_irq_optional() to platform_get_irq_silent() (or >>>>> platform_get_irq_silently() if this is preferred) and once all users are >>>>> are changed (which can be done mechanically), we reintroduce a >>>>> platform_get_irq_optional() with Sergey's suggested semantic (i.e. >>>>> return 0 on not-found, no error message printking). >>>> >>>> Please do not do that as anyone trying to forward-port an old driver >>>> will miss the abi change of functionality and get confused. Make >>>> build-breaking changes, if the way a function currently works is >>>> changed in order to give people a chance. >>> >>> Fine for me. I assume this is a Nack for Sergey's patch? >> >> Which patch do you mean? I'm starting to get really muddled... :-( > > I'm talking about "[PATCH 1/2] platform: make > platform_get_irq_optional() optional" I thought GregKH was talking about your renaming patch... :-/ > because "trying to forward-port an > old driver will miss the abi" applies to it. Mhm... why not tell me right from the start? Jr even tell that to Andy instead of merging his patch, so I wouldn't get sucked into this work? I wouldn't bother with v2 and it would have saved a lot of time spent on email... :-( Do we also remember that "the stable API is a nonsense" thing? :-) > Best regards > Uwe MBR, Sergey