mbox series

[mptcp-next,0/4] mptcp: Spring cleaning

Message ID 20240502-mptcp-cleanup-clang-checkpatch-v1-0-a2b46c0a6bec@kernel.org (mailing list archive)
Headers show
Series mptcp: Spring cleaning | expand

Message

Matthieu Baerts (NGI0) May 2, 2024, 5:23 p.m. UTC
This series fixes some warnings reported by CheckPatch and CLang.

The behaviour is not supposed to be modified, just some simple fixes.

Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
---
Matthieu Baerts (NGI0) (4):
      mptcp: prefer strscpy over strcpy
      mptcp: move mptcp_pm_gen.h's include
      mptcp: remove unnecessary else statements
      mptcp: include inet_common in mib.h

 net/mptcp/ctrl.c         |  2 +-
 net/mptcp/mib.h          |  2 ++
 net/mptcp/pm_netlink.c   |  1 +
 net/mptcp/pm_userspace.c |  1 +
 net/mptcp/protocol.c     |  5 +++--
 net/mptcp/protocol.h     |  2 --
 net/mptcp/sockopt.c      |  2 +-
 net/mptcp/subflow.c      | 32 +++++++++++++++++---------------
 8 files changed, 26 insertions(+), 21 deletions(-)
---
base-commit: c3c3514169a8e548fba51d0694b86a72f89acce0
change-id: 20240502-mptcp-cleanup-clang-checkpatch-8eb4a4843ff6

Best regards,

Comments

MPTCP CI May 2, 2024, 6:12 p.m. UTC | #1
Hi Matthieu,

Thank you for your modifications, that's great!

Our CI did some validations and here is its report:

- KVM Validation: normal: Success! ✅
- KVM Validation: debug: Success! ✅
- KVM Validation: btf (only bpftest_all): Success! ✅
- Task: https://github.com/multipath-tcp/mptcp_net-next/actions/runs/8928081434

Initiator: Patchew Applier
Commits: https://github.com/multipath-tcp/mptcp_net-next/commits/85cda034c68b
Patchwork: https://patchwork.kernel.org/project/mptcp/list/?series=849979


If there are some issues, you can reproduce them using the same environment as
the one used by the CI thanks to a docker image, e.g.:

    $ cd [kernel source code]
    $ docker run -v "${PWD}:${PWD}:rw" -w "${PWD}" --privileged --rm -it \
        --pull always mptcp/mptcp-upstream-virtme-docker:latest \
        auto-normal

For more details:

    https://github.com/multipath-tcp/mptcp-upstream-virtme-docker


Please note that despite all the efforts that have been already done to have a
stable tests suite when executed on a public CI like here, it is possible some
reported issues are not due to your modifications. Still, do not hesitate to
help us improve that ;-)

Cheers,
MPTCP GH Action bot
Bot operated by Matthieu Baerts (NGI0 Core)
Geliang Tang May 5, 2024, 12:09 a.m. UTC | #2
Hi Matt,

On Thu, May 02, 2024 at 07:23:03PM +0200, Matthieu Baerts (NGI0) wrote:
> This series fixes some warnings reported by CheckPatch and CLang.
> 
> The behaviour is not supposed to be modified, just some simple fixes.
> 
> Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>

This series looks good to me, thanks.

Reviewed-by: Geliang Tang <geliang@kernel.org>

-Geliang

> ---
> Matthieu Baerts (NGI0) (4):
>       mptcp: prefer strscpy over strcpy
>       mptcp: move mptcp_pm_gen.h's include
>       mptcp: remove unnecessary else statements
>       mptcp: include inet_common in mib.h
> 
>  net/mptcp/ctrl.c         |  2 +-
>  net/mptcp/mib.h          |  2 ++
>  net/mptcp/pm_netlink.c   |  1 +
>  net/mptcp/pm_userspace.c |  1 +
>  net/mptcp/protocol.c     |  5 +++--
>  net/mptcp/protocol.h     |  2 --
>  net/mptcp/sockopt.c      |  2 +-
>  net/mptcp/subflow.c      | 32 +++++++++++++++++---------------
>  8 files changed, 26 insertions(+), 21 deletions(-)
> ---
> base-commit: c3c3514169a8e548fba51d0694b86a72f89acce0
> change-id: 20240502-mptcp-cleanup-clang-checkpatch-8eb4a4843ff6
> 
> Best regards,
> -- 
> Matthieu Baerts (NGI0) <matttbe@kernel.org>
>
Matthieu Baerts (NGI0) May 6, 2024, 8:23 a.m. UTC | #3
Hi Geliang,

On 05/05/2024 02:09, Geliang Tang wrote:
> Hi Matt,
> 
> On Thu, May 02, 2024 at 07:23:03PM +0200, Matthieu Baerts (NGI0) wrote:
>> This series fixes some warnings reported by CheckPatch and CLang.
>>
>> The behaviour is not supposed to be modified, just some simple fixes.
>>
>> Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
> 
> This series looks good to me, thanks.
> 
> Reviewed-by: Geliang Tang <geliang@kernel.org>

Thank you for the reviews!

Now in our tree:

New patches for t/upstream:
- 30bcdc95bba9: mptcp: prefer strscpy over strcpy
- a34ad3c16bea: mptcp: move mptcp_pm_gen.h's include
- ee96a2272093: mptcp: remove unnecessary else statements
- 1122ef798833: mptcp: include inet_common in mib.h
- Results: 553805a44319..77024827f43c (export)

Tests are now in progress:

- export:
https://github.com/multipath-tcp/mptcp_net-next/commit/0c710353718af7825e121b25983bc352ccc64024/checks

Cheers,
Matt