Leon Romanovsky
ed43fbac71
devlink: Clear whole devlink_flash_notify struct
...
The { 0 } doesn't clear all fields in the struct, but tells to the
compiler to set all fields to zero and doesn't touch any sub-fields
if they exists.
The {} is an empty initialiser that instructs to fully initialize whole
struct including sub-fields, which is error-prone for future
devlink_flash_notify extensions.
Fixes: 6700acc5f1 ("devlink: collect flash notify params into a struct")
Signed-off-by: Leon Romanovsky <leonro@nvidia.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2021-08-14 13:59:10 +01:00
..
2021-08-13 14:09:19 -07:00
2021-02-04 18:56:56 -08:00
2019-03-27 13:49:44 -07:00
2021-03-28 17:56:56 -07:00
2021-08-05 11:36:59 +01:00
2021-08-13 14:09:19 -07:00
2021-08-14 13:59:10 +01:00
2021-08-05 13:27:50 +01:00
2019-05-30 11:26:32 -07:00
2021-08-05 13:27:50 +01:00
2019-04-10 22:12:26 -07:00
2019-10-04 11:10:56 -07:00
2021-07-20 06:00:38 -07:00
2021-08-10 07:53:22 -07:00
2021-07-31 09:14:46 -07:00
2020-12-09 16:08:33 -08:00
2021-01-15 18:11:06 -08:00
2020-04-28 14:39:46 -07:00
2020-11-25 11:28:12 -08:00
2019-06-09 19:40:10 -07:00
2021-08-11 14:43:16 -07:00
2020-12-07 11:53:40 -08:00
2021-07-21 08:14:33 -07:00
2021-07-15 18:17:49 -07:00
2021-08-10 16:03:34 -07:00
2021-06-15 11:00:45 -07:00
2021-03-22 13:14:45 -07:00
2021-03-22 13:28:13 -07:00
2020-02-26 20:07:25 -08:00
2021-05-14 15:26:03 -07:00
2020-12-04 22:32:40 +01:00
2021-03-28 17:56:56 -07:00
2021-07-02 12:43:40 -07:00
2020-12-04 22:32:40 +01:00
2021-08-13 06:41:22 -07:00
2021-08-12 10:50:21 +01:00
2020-08-19 16:07:49 -07:00
2019-10-13 10:13:08 -07:00
2021-08-10 16:03:34 -07:00
2021-07-20 06:00:38 -07:00
2020-05-08 15:32:17 +10:00
2021-07-22 00:52:04 -07:00
2021-08-13 14:09:19 -07:00
2021-07-27 14:55:30 -07:00
2020-09-30 11:50:35 -07:00
2021-07-15 18:17:50 -07:00
2021-06-23 12:56:08 -07:00
2021-08-04 12:52:03 +01:00
2019-08-19 13:07:43 -07:00
2021-03-25 17:24:06 -07:00
2019-12-25 19:51:33 -08:00
2020-06-18 20:46:23 -07:00
2020-01-24 20:54:30 +01:00
2021-06-28 23:07:59 +02:00