lkml.org 
[lkml]   [2019]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] net: core: datagram: tidy up copy functions a bit
From
From: Vito Caputo <vcaputo@pengaru.com>
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.

\
 
 \ /
  Last update: 2019-10-16 00:00    [W:0.055 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site