Pietro Borrello f753a68980 rds: rds_rm_zerocopy_callback() use list_first_entry()
rds_rm_zerocopy_callback() uses list_entry() on the head of a list
causing a type confusion.
Use list_first_entry() to actually access the first element of the
rs_zcookie_queue list.

Fixes: 9426bbc6de99 ("rds: use list structure to track information for zerocopy completion notification")
Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Pietro Borrello <borrello@diag.uniroma1.it>
Link: https://lore.kernel.org/r/20230202-rds-zerocopy-v3-1-83b0df974f9a@diag.uniroma1.it
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2023-02-09 10:37:26 +01:00
..
2023-01-12 17:02:20 -06:00
2022-12-13 15:47:48 -08:00
2022-12-17 14:06:53 -06:00
2022-02-25 09:36:06 +01:00
2023-02-08 09:07:11 +00:00
2023-02-08 09:07:11 +00:00
2023-02-08 09:07:11 +00:00
2022-12-13 15:47:48 -08:00
2023-01-10 15:03:06 -06:00
2022-12-13 15:47:48 -08:00
2022-12-16 03:54:54 -08:00
2022-08-22 14:26:30 +01:00
2022-08-22 14:26:30 +01:00
2022-12-13 15:47:48 -08:00