summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorNiklas Neronin <niklas.neronin@linux.intel.com>2024-11-06 13:14:38 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-11-06 15:26:14 +0300
commit401406a4c709621aedce049460eb640b58d7c47d (patch)
tree271da0b51ee6f4b855bcf1b2b6358617413c86c7 /rust/helpers/build_bug.c
parente1b0fa863907a61e86acc19ce2d0633941907c8e (diff)
downloadlinux-401406a4c709621aedce049460eb640b58d7c47d.tar.xz
usb: xhci: adjust xhci_alloc_segments_for_ring() arguments
The function xhci_alloc_segments_for_ring() currently takes 7 arguments, 5 of which are components of the 'xhci_ring' struct. Refactor the function to accept a pointer to the 'xhci_ring' struct instead of passing these components separately. The change reduces the number of arguments, making the function signature cleaner and easier to understand. Signed-off-by: Niklas Neronin <niklas.neronin@linux.intel.com> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Link: https://lore.kernel.org/r/20241106101459.775897-13-mathias.nyman@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions