Hi,
On Thu, 2019-10-10 at 16:31 +0200, Matthieu Baerts wrote:
This afternoon, I was quickly looking at the output of checkpatch.pl
for
each patch. Everything was already OK for the 10 first ones we sent to
netdev.
I just sent the different patches I have, nothing important but we have
to fix these warnings one day I guess :)
Thank you!
I also have a few questions:
mptcp: Implement MPTCP receive path
===================================
I got these warnings:
WARNING: line over 80 characters
#134: FILE: net/mptcp/options.c:104:
+ mp_opt->data_fin = (mp_opt->dss_flags &
MPTCP_DSS_DATA_FIN) != 0;
WARNING: memory barrier without comment
#470: FILE: net/mptcp/protocol.c:327:
+ smp_mb__before_atomic();
[...]
For the first one, maybe clearer to keep the line like this even if
it
has more than 80 chars (81 in fact...).
Agreed.
But for the rest, should we add comments?
I think a pair of comments there is welcome, alike:
"""
/* paired with {read,write} memory barrier in <>.
* It's necessary as the subflows set msk data ready
* without any global lock
*/
"""
General
=======
At some points, we will have to fix this one:
WARNING: added, moved or deleted file(s), does MAINTAINERS need
updating?
Indeed ;) Possibly with an additional patch in the next chunk ?
/P