Thread (92 messages) 92 messages, 12 authors, 2022-01-25

Re: [PATCH 1/2] platform: make platform_get_irq_optional() optional (summary)

From: Sergey Shtylyov <hidden>
Date: 2022-01-19 11:42:32
Also in: alsa-devel, kvm, linux-edac, linux-gpio, linux-i2c, linux-iio, linux-mediatek, linux-mmc, linux-pm, linux-pwm, linux-renesas-soc, linux-serial, linux-spi, lkml, netdev, platform-driver-x86

On 1/19/22 2:33 PM, Uwe Kleine-König wrote:

[...]
quoted
quoted
quoted
quoted
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

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help