Re: [PATCH net-next 3/9] net: netconsole: separate fragmented message handling in send_ext_msg
From: Breno Leitao
Date: Fri Sep 06 2024 - 04:33:49 EST
On Wed, Sep 04, 2024 at 11:59:20AM +0100, Simon Horman wrote:
> On Tue, Sep 03, 2024 at 07:07:46AM -0700, Breno Leitao wrote:
> > Following the previous change, where the non-fragmented case was moved
> > to its own function, this update introduces a new function called
> > send_msg_fragmented to specifically manage scenarios where message
> > fragmentation is required.
> >
> > Signed-off-by: Breno Leitao <leitao@xxxxxxxxxx>
>
> Due to tooling the diff below seems to more verbose than the change
> warrants. Perhaps some diff flags would alleviate this, but anyone viewing
> the patch using git with default flags, would see what is below anyway.
>
> So I wonder if you could consider moving send_msg_fragmented()
> to above send_msg_no_fragmentation(). Locally this lead to an entirely
> more reasonable diff to review.
I agree. Let me move the functions around aiming to generate an
easy-to-review diff.
Thanks for the feedback.