]> www.infradead.org Git - users/dwmw2/linux.git/commit
staging: vchiq_core: Subsume 'offset' in struct vchiq_bulk
authorUmang Jain <umang.jain@ideasonboard.com>
Thu, 17 Oct 2024 13:36:24 +0000 (19:06 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 19 Oct 2024 08:04:06 +0000 (10:04 +0200)
commit0d2df8b10b54578d052daa520fac64e0e0ce74e2
tree2df96f9d7be6d265eda2926b8c8f316a36cfbfc0
parent039beaa5ace1e2cf9f0f3fa542f3057f9ededa61
staging: vchiq_core: Subsume 'offset' in struct vchiq_bulk

Subsume offset and uoffset inside struct vchiq_bulk instead of
open-coding them in vchiq_prepare_bulk_data() function. It helps in
reducing function parameters and can be easily retrieved from the
struct vchiq_bulk pointer for creating pagelist.

Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Link: https://lore.kernel.org/r/20241017133629.216672-2-umang.jain@ideasonboard.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h