Re: [PATCH v2 1/1] fs: proc: Fix build with GCC 15 due to -Werror=unterminated-string-initialization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Andrew,

On Wed, 2 Oct 2024 14:48:06 -0700 Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> If we want to preserve the party trick then perhaps we can use
> 
> -                [0 ... (BITS_PER_LONG-1)] = { "??" },
> +                [0 ... (BITS_PER_LONG-1)] = { '?', '?' },
> 
> and this will shut gcc up?

But we would probably also have to fix up the other following 2 letter
initializers as well.

-- 
Cheers,
Stephen Rothwell

Attachment: pgprl9RJPN_Nn.pgp
Description: OpenPGP digital signature


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux