* Re: [PATCH v1 0/7] ptp: ocp: A fix and refactoring
@ 2025-11-18 18:37 Andy Shevchenko
0 siblings, 0 replies; 3+ messages in thread
From: Andy Shevchenko @ 2025-11-18 18:37 UTC (permalink / raw)
To: Vadim Fedorenko
Cc: netdev, linux-kernel, Richard Cochran, Jonathan Lemon,
Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni
On Wed, Nov 12, 2025 at 03:27:14PM +0000, Vadim Fedorenko wrote:
> On 11/11/2025 16:52, Andy Shevchenko wrote:
>
> > ptp: ocp: Sort headers alphabetically
> > ptp: ocp: don't use "proxy" headers
> I don't see benefits of these 2 patches, what's the reason?
I may give these reasons:
1. Makes clear what headers are in use (avoids dups and improves long-term
maintenance experience).
2. Makes sure we don't "include everything". This might (slightly) improve
the module build time, but also shows that we use what we use.
There are patches in the history of the Linux kernel for both scenarios
in C files (yes, for the h files such a change is much more important).
...
TBH, the driver is written in a bad style, it has so-o-o many issues,
I even don't know where to start... Oh, wait.
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v1 0/7] ptp: ocp: A fix and refactoring
@ 2025-11-11 16:52 Andy Shevchenko
2025-11-12 15:27 ` Vadim Fedorenko
0 siblings, 1 reply; 3+ messages in thread
From: Andy Shevchenko @ 2025-11-11 16:52 UTC (permalink / raw)
To: netdev, linux-kernel
Cc: Richard Cochran, Jonathan Lemon, Vadim Fedorenko, Andrew Lunn,
David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
Andy Shevchenko
Here is the fix for incorrect use of %ptT with the associated
refactoring and additional cleanups.
Note, %ptS, which is introduced in another series, doesn't fit
here, that's why this fix is separated from that series.
Andy Shevchenko (7):
ptp: ocp: Refactor signal_show() and fix %ptT misuse
ptp: ocp: Make ptp_ocp_unregister_ext() NULL-aware
ptp: ocp: Refactor ptp_ocp_i2c_notifier_call()
ptp: ocp: Apply standard pattern for cleaning up loop
ptp: ocp: Reuse META's PCI vendor ID
ptp: ocp: Sort headers alphabetically
ptp: ocp: don't use "proxy" headers
drivers/ptp/ptp_ocp.c | 128 +++++++++++++++++++++++-------------------
1 file changed, 70 insertions(+), 58 deletions(-)
--
2.50.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v1 0/7] ptp: ocp: A fix and refactoring
2025-11-11 16:52 Andy Shevchenko
@ 2025-11-12 15:27 ` Vadim Fedorenko
0 siblings, 0 replies; 3+ messages in thread
From: Vadim Fedorenko @ 2025-11-12 15:27 UTC (permalink / raw)
To: Andy Shevchenko, netdev, linux-kernel
Cc: Richard Cochran, Jonathan Lemon, Andrew Lunn, David S. Miller,
Eric Dumazet, Jakub Kicinski, Paolo Abeni
On 11/11/2025 16:52, Andy Shevchenko wrote:
> ptp: ocp: Sort headers alphabetically
> ptp: ocp: don't use "proxy" headers
I don't see benefits of these 2 patches, what's the reason?
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-11-18 18:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-18 18:37 [PATCH v1 0/7] ptp: ocp: A fix and refactoring Andy Shevchenko
-- strict thread matches above, loose matches on Subject: below --
2025-11-11 16:52 Andy Shevchenko
2025-11-12 15:27 ` Vadim Fedorenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox