Gustavo A. R. Silva
e1d9ec3af3
fpga: dfl: Use struct_size() in kzalloc()
...
Make use of the struct_size() helper instead of an open-coded version
in order to avoid any potential type mistakes. Also, remove unnecessary
function dfl_feature_platform_data_size().
This code was detected with the help of Coccinelle and, audited and
fixed manually.
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org >
Signed-off-by: Moritz Fischer <mdf@kernel.org >
2020-06-18 18:22:12 -07:00
..
2019-08-24 11:38:29 -07:00
2018-10-16 11:13:50 +02:00
2018-10-16 11:13:50 +02:00
2018-10-16 11:13:50 +02:00
2019-07-24 14:11:52 -07:00
2019-07-24 14:11:52 -07:00
2019-08-18 17:40:02 -07:00
2020-06-18 18:12:06 -07:00
2019-09-03 19:35:41 -07:00
2020-04-29 20:37:12 -07:00
2018-07-15 13:55:47 +02:00
2019-09-03 19:35:41 -07:00
2018-10-16 11:13:50 +02:00
2019-09-03 19:35:41 -07:00
2020-05-15 16:09:24 +02:00
2019-07-03 19:58:58 +02:00
2020-04-28 15:49:28 +02:00
2020-05-29 11:04:56 -04:00
2018-07-15 13:55:46 +02:00
2018-11-26 20:47:10 +01:00
2020-04-28 15:49:28 +02:00
2020-03-30 20:45:30 -07:00
2020-06-18 18:22:12 -07:00
2020-06-18 18:22:12 -07:00
2019-07-30 13:07:41 +02:00
2019-07-30 13:07:41 +02:00
2018-10-16 11:13:50 +02:00
2020-04-29 20:37:08 -07:00
2020-04-28 15:49:28 +02:00
2020-04-29 20:37:08 -07:00
2020-04-28 15:49:28 +02:00
2019-06-24 05:22:31 +02:00
2018-10-16 11:13:50 +02:00
2018-10-16 11:13:50 +02:00
2020-05-15 16:09:24 +02:00
2020-01-02 20:57:34 -08:00
2020-01-10 12:51:56 -08:00
2020-06-18 18:19:44 -07:00
2020-03-30 20:45:21 -07:00
2020-04-28 15:45:09 +02:00