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: 6700acc5f1fe ("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-08-13 14:09:19 -07:00
2021-08-05 13:27:50 +01:00
2021-08-12 10:50:21 +01:00
2021-07-22 00:52:04 -07:00
2021-08-13 14:09:19 -07:00
2020-06-18 20:46:23 -07:00