From: Vito Caputo
Date: Sat, 12 Oct 2019 04:55:09 -0700
> + if ((copy = min(start - offset, len)) > 0) {
As Eric said, we try to avoid this very construct these days.
I'm not applying this patch.
Thank you.
On 10/13/19 3:41 PM, Vito Caputo wrote:
> I read it, thank you for your responses.
>
> Do you have any guidance to offer someone wanting to contribute with 1-2
> hours available per day? I don't want to cause a nuisance, but would
> like to help where I can. My flawed assumption was that
On Sun, Oct 13, 2019 at 01:17:18PM -0700, Eric Dumazet wrote:
>
>
> On 10/13/19 1:01 PM, Vito Caputo wrote:
> > On Sun, Oct 13, 2019 at 12:30:41PM -0700, Eric Dumazet wrote:
> >>
> >>
> >> On 10/12/19 4:55 AM, Vito Caputo wrote:
> >>> Eliminate some verbosity by using min() macro and
On 10/13/19 1:01 PM, Vito Caputo wrote:
> On Sun, Oct 13, 2019 at 12:30:41PM -0700, Eric Dumazet wrote:
>>
>>
>> On 10/12/19 4:55 AM, Vito Caputo wrote:
>>> Eliminate some verbosity by using min() macro and consolidating some
>>> things, also fix inconsistent zero tests (! vs. == 0).
>>>
>>>
On Sun, Oct 13, 2019 at 12:30:41PM -0700, Eric Dumazet wrote:
>
>
> On 10/12/19 4:55 AM, Vito Caputo wrote:
> > Eliminate some verbosity by using min() macro and consolidating some
> > things, also fix inconsistent zero tests (! vs. == 0).
> >
> > Signed-off-by: Vito Caputo
> > ---
> >
On 10/12/19 4:55 AM, Vito Caputo wrote:
> Eliminate some verbosity by using min() macro and consolidating some
> things, also fix inconsistent zero tests (! vs. == 0).
>
> Signed-off-by: Vito Caputo
> ---
> net/core/datagram.c | 44 ++--
> 1 file
Eliminate some verbosity by using min() macro and consolidating some
things, also fix inconsistent zero tests (! vs. == 0).
Signed-off-by: Vito Caputo
---
net/core/datagram.c | 44 ++--
1 file changed, 14 insertions(+), 30 deletions(-)
diff --git
7 matches
Mail list logo