Commit fb0b082
RDMA/bnxt_re: improve clarity in ALLOC_PAGE handler
Update uverbs_copy_to call to use sizeof(dpi) instead of sizeof(length)
when copying the device page index (DPI) back to user space. Both dpi
and length are declared as u32, so this change has no functional impact
but makes the code clearer.
Link: https://patch.msgid.link/r/[email protected]
Signed-off-by: Alok Tiwari <[email protected]>
Reviewed-by: Kalesh AP <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>1 parent 880245f commit fb0b082
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4750 | 4750 | | |
4751 | 4751 | | |
4752 | 4752 | | |
4753 | | - | |
| 4753 | + | |
4754 | 4754 | | |
4755 | 4755 | | |
4756 | 4756 | | |
| |||
0 commit comments