aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorJohn B. Wyatt IV <[email protected]>2020-03-21 15:58:08 -0700
committerGreg Kroah-Hartman <[email protected]>2020-03-23 11:43:42 +0100
commit759411a0e0f35c8ae1778a838a97cec9d0140f7f (patch)
tree410b1543873a373173c86ed34fdaec22062559db /lib/mpi/mpiutil.c
parent1c31a1302c4050466385fefc8f756ccbea582073 (diff)
staging: wlan-ng: Fix third argument going over 80 characters
Create a new 'status' variable to store the value of a long argument that goes over 80 characters. The status variable is also used for an if check. Replacing that long statement in both places makes the code much easier to read. Note: the status variable is assigned after a needed byte order conversion for usbin->rxfrm.desc.status, which uses a reference. Issue reported by checkpatch. Suggested-by: Stefano Brivio <[email protected]> Signed-off-by: John B. Wyatt IV <[email protected]> Reviewed-by: Stefano Brivio <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions