Files
i2som-imx-linux/include/linux
Len Baker 3fd445a4d4 brcmfmac: Replace zero-length array with flexible array member
There is a regular need in the kernel to provide a way to declare
having a dynamically sized set of trailing elements in a structure.
Kernel code should always use "flexible array members"[1] for these
cases. The older style of one-element or zero-length arrays should
no longer be used[2].

Also, make use of the struct_size() helper in devm_kzalloc().

[1] https://en.wikipedia.org/wiki/Flexible_array_member
[2] https://www.kernel.org/doc/html/v5.14/process/deprecated.html#zero-length-and-one-element-arrays

Signed-off-by: Len Baker <len.baker@gmx.com>
Reviewed-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210904092217.2848-1-len.baker@gmx.com
2021-09-24 14:20:44 +03:00
..
2021-09-02 22:49:16 +02:00
2021-07-21 19:54:21 -07:00
2018-05-26 09:16:44 +02:00
2021-05-06 19:24:11 -07:00
2021-04-14 16:30:30 +03:00
2020-05-24 20:48:11 +02:00
2021-08-16 10:50:32 -06:00
2021-01-24 14:27:17 +01:00
2021-04-08 16:04:20 -07:00
2018-06-15 18:10:01 -03:00
2021-09-08 15:32:35 -07:00
2019-10-09 19:33:43 -07:00
2019-12-03 11:20:37 +01:00
2021-07-20 09:20:49 -07:00
2021-09-07 21:17:28 +02:00
2021-03-22 03:57:39 +01:00
2021-08-26 15:32:28 -04:00
2018-01-01 12:40:27 -07:00
2020-12-10 12:42:59 -06:00
2021-04-12 15:04:23 +02:00
2019-02-15 16:54:38 +01:00
2021-09-03 09:58:13 -07:00
2010-02-09 11:13:56 +01:00
2019-06-26 13:19:46 -07:00
2020-08-04 21:02:38 -04:00
2020-12-02 22:10:35 -08:00
2021-04-30 11:20:40 -07:00
2018-06-22 13:43:27 +09:00
2020-09-16 08:54:53 -05:00
2021-07-27 17:05:06 +01:00
2020-12-15 16:19:31 +01:00
2021-08-19 09:02:55 +09:00
2019-12-11 09:12:38 +01:00
2021-01-21 16:16:10 +00:00
2020-05-08 00:12:42 +02:00
2020-05-28 10:31:09 +02:00
2018-04-12 09:41:19 -07:00
2021-06-17 13:09:27 -04:00
2021-06-15 17:46:57 +02:00
2018-06-07 17:34:35 -07:00
2021-06-29 10:53:53 -07:00
2021-07-01 11:06:05 -07:00
2018-10-17 13:56:58 -07:00
2020-05-09 13:57:12 +02:00
2019-02-08 15:02:49 -08:00
2020-07-01 10:49:02 +02:00
2021-02-26 09:40:59 -08:00
2021-02-03 19:05:50 +01:00
2017-11-09 10:23:28 +01:00
2021-07-20 06:55:20 -07:00
2018-10-08 22:53:10 +11:00
2019-06-15 12:25:49 +02:00
2018-07-20 01:11:45 +02:00
2020-12-03 11:20:52 +01:00
2021-03-17 14:16:15 -05:00
2021-01-16 23:19:26 +01:00
2018-09-25 20:17:35 -07:00
2021-08-17 17:50:51 +02:00
2021-03-18 12:58:27 -04:00
2020-12-10 16:17:15 +01:00
2020-12-10 10:45:36 +01:00
2021-05-10 16:03:35 -07:00
2021-08-06 13:41:48 -07:00
2021-08-19 09:02:55 +09:00
2018-01-15 12:07:46 -08:00
2021-08-19 09:02:55 +09:00
2021-07-01 11:06:03 -07:00
2020-10-30 21:57:04 +01:00
2021-07-27 12:17:21 +02:00
2021-07-27 12:12:08 +02:00
2021-02-13 17:17:53 +01:00
2021-09-08 15:32:35 -07:00
2020-09-10 14:03:31 -07:00
2005-04-16 15:20:36 -07:00
2020-08-19 14:13:20 +02:00
2021-01-21 16:16:10 +00:00
2019-05-15 17:35:54 +01:00
2021-03-30 13:42:33 -04:00
2021-02-08 22:58:55 +01:00