Re: [PATCH 01/22] orion5x: Replace comments with C99 initializers

From
Arnd Bergmann <arnd@arndb.de>
Date
2022-03-26 19:24:08
Also in
linux-acpi, linux-edac, linux-gpio, linux-input, linux-media, linux-pci, linux-rdma, linux-samsung-soc, linux-wireless, lkml, netdev
Reply to
Benjamin Stürz, 2022-03-26
On Sat, Mar 26, 2022 at 5:58 PM Benjamin Stürz [off-list ref] wrote:
This replaces comments with C99's designated
initializers because the kernel supports them now.
The change looks fine, but the comment looks misplaced, as enum initializers
are not c99 feature. Also, the named array and struct intializers have been
supported by gnu89 for a long time and widely used in the kernel, so it's
not a recent change even for the others.

Also,

      Arnd
Thread (48 messages) 48 messages, 18 authors, last reply 2022-04-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help