lkml.org 
[lkml]   [2020]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] efi: Replace zero-length array with flexible-array
On Thu, May 7, 2020 at 12:22 PM Gustavo A. R. Silva
<gustavoars@kernel.org> wrote:
>
> The current codebase makes use of the zero-length array language
> extension to the C90 standard, but the preferred mechanism to declare
> variable-length types such as these ones is a flexible array member[1][2],
> introduced in C99 [...]

Why is this called an "efi" patch, when it doesn't appear to be so at all:

> include/linux/dma/ti-cppi5.h | 4 ++--
> include/linux/efi.h | 2 +-
> include/linux/mailbox/zynqmp-ipi-message.h | 2 +-
> include/linux/platform_data/cros_ec_commands.h | 4 ++--
> include/linux/platform_data/cros_ec_proto.h | 2 +-
> kernel/params.c | 2 +-
> kernel/tracepoint.c | 2 +-
> scripts/kallsyms.c | 2 +-
> 8 files changed, 10 insertions(+), 10 deletions(-)

Yes, one line of the patch is EFI code. The rest are not.

Linus

\
 
 \ /
  Last update: 2020-05-08 19:27    [W:2.767 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site