diff options
| author | Pietro Borrello <[email protected]> | 2023-02-07 18:26:34 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2023-02-09 09:37:26 +0000 |
| commit | f753a68980cf4b59a80fe677619da2b1804f526d (patch) | |
| tree | cd8b504872d3f8692f0e672e2427d8f455aa8a93 /drivers/net/ethernet/intel/igc/igc_main.c | |
| parent | Merge tag 'ipsec-2023-02-08' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff) | |
| download | kernel-f753a68980cf4b59a80fe677619da2b1804f526d.tar.gz kernel-f753a68980cf4b59a80fe677619da2b1804f526d.zip | |
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 <[email protected]>
Signed-off-by: Pietro Borrello <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions
