[PATCH v3 01/18] net/r8169: add PMD driver skeleton
Stephen Hemminger
stephen at networkplumber.org
Thu Oct 31 16:49:39 CET 2024
On Thu, 31 Oct 2024 07:47:51 +0000
王颢 <howard_wang at realsil.com.cn> wrote:
> Dear Stephen,
>
> I have modified the code related to braces in the latest patch. Recently, I was reviewing the DPDK Coding Style and found the reason why I initially removed the redundant braces. If symmetrical braces are required, it would be better to update the DPDK Coding Style accordingly.
>
> in https://doc.dpdk.org/guides/contributing/coding_style.html
> Braces that are not necessary should be left out.
>
> if (test)
> stmt;
> else if (bar) {
> stmt;
> stmt;
> } else
> stmt;
>
> Best Regards,
> Howard Wang
Thanks, the DPDK inherits DPDK from the Linux kernel, and the Linux kernel
community sometimes changes and adds things.
More information about the dev
mailing list