Re: [PATCH][next] fddi/skfp: Avoid the use of one-element array

2020-09-29 Thread David Miller
From: "Gustavo A. R. Silva" Date: Tue, 29 Sep 2020 08:27:51 -0500 > One-element arrays are being deprecated[1]. Replace the one-element array > with a simple object of type u_char: 'u_char rm_pad1'[2], once it seems > this is just a placeholder for padding. > > [1] > https://www.kernel.org/doc/

[PATCH][next] fddi/skfp: Avoid the use of one-element array

2020-09-29 Thread Gustavo A. R. Silva
One-element arrays are being deprecated[1]. Replace the one-element array with a simple object of type u_char: 'u_char rm_pad1'[2], once it seems this is just a placeholder for padding. [1] https://www.kernel.org/doc/html/v5.9-rc1/process/deprecated.html#zero-length-and-one-element-arrays [2] htt