Skip to content

adjust function arguments

Aya Mahfouz outreachy 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest20 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/20staging: fwserial: remove extra parentheses around function argumentsdrivers/staging/fwserial/fwserial.c+1 -10 replies
2/20staging: media: lirc: lirc_imon.c: remove extra parentheses around function argumentsdrivers/staging/media/lirc/lirc_imon.c+2 -20 replies
3/20staging: media: lirc: remove unnecessary cast on function argumentdrivers/staging/media/lirc/lirc_parallel.c+1 -10 replies
4/20staging: media: lirc: fix multiple issues with function argumentsdrivers/staging/media/lirc/lirc_sasem.c+3 -30 replies
5/20staging: media: lirc: remove pointer to pointer cast on function argumentsdrivers/staging/media/lirc/lirc_serial.c+1 -10 replies
6/20staging: mt29f_spinand: remove pointer to pointer cast in function argumentdrivers/staging/mt29f_spinand/mt29f_spinand.c+1 -10 replies
7/20staging: ft1000: adjust function argumentsdrivers/staging/ft1000/ft1000-pcmcia/ft1000_dnld.c+2 -20 replies
8/20staging: ft1000: ft1000-pcmcia: adjust function argumentsdrivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c+5 -30 replies
9/20staging: ft1000: ft1000-usb: adjust function argumentsdrivers/staging/ft1000/ft1000-usb/ft1000_debug.c+4 -40 replies
10/20staging: ft1000: ft1000-usb: ft1000_download.c: adjust function argumentsdrivers/staging/ft1000/ft1000-usb/ft1000_download.c+7 -70 replies
11/20staging: ft1000: ft1000-usb: ft1000_hw.c: adjust function argumentsdrivers/staging/ft1000/ft1000-usb/ft1000_hw.c+9 -90 replies
12/20staging: fbtft: fb_agm1264k-fl.c: remove extra parentheses around function argumentsdrivers/staging/fbtft/fb_agm1264k-fl.c+1 -10 replies
13/20staging: fbtft: fb_hx8340bn.c: remove extra parentheses around function argumentsdrivers/staging/fbtft/fb_hx8340bn.c+1 -10 replies
14/20staging: fbtft: fb_hx8353d.c: remove extra parentheses around function argumentsdrivers/staging/fbtft/fb_hx8353d.c+1 -10 replies
15/20staging: fbtft: fb_s6d02a1.c: remove extra parentheses around function argumentsdrivers/staging/fbtft/fb_s6d02a1.c+1 -10 replies
16/20staging: fbtft: fb_st7735r.c: remove extra parentheses around function argumentsdrivers/staging/fbtft/fb_st7735r.c+1 -10 replies
17/20staging: fbtft: remove unnecessary pointer to pointer castdrivers/staging/fbtft/fbtft-core.c+1 -10 replies
18/20staging: fbtft: fbtft-io.c: remove extra parentheses around function argumentsdrivers/staging/fbtft/fbtft-io.c+4 -40 replies
19/20staging: fbtft: fbtft_device.c: remove extra parentheses around function argumentsdrivers/staging/fbtft/fbtft_device.c+2 -20 replies
20/20staging: goldfish: remove extra parentheses around function argumentsdrivers/staging/goldfish/goldfish_audio.c+4 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/20] adjust function arguments

Fixes functions' arguments through a series of coccinelle rules. The focus was on removing extra parentheses and unnecessary casts in case the passed argument is a pointer. Each patch has its corresponding coccinelle script.

checkpatch.pl issued line over 80 characters warning for some of the patches. Most of them were ignored since the problem was present in all of the affected files before the changes were applied. In addition, fixing the problem was not the best move.

Aya Mahfouz (20):
staging: fwserial: remove extra parentheses around function arguments
staging: media: lirc: lirc_imon.c: remove extra parentheses around
function arguments
staging: media: lirc: remove unnecessary cast on function argument
staging: media: lirc: fix multiple issues with function arguments
staging: media: lirc: remove pointer to pointer cast on function
arguments
staging: mt29f_spinand: remove pointer to pointer cast in function
argument
staging: ft1000: adjust function arguments
staging: ft1000: ft1000-pcmcia: adjust function arguments
staging: ft1000: ft1000-usb: adjust function arguments
staging: ft1000: ft1000-usb: ft1000_download.c: adjust function
arguments
staging: ft1000: ft1000-usb: ft1000_hw.c: adjust function arguments
staging: fbtft: fb_agm1264k-fl.c: remove extra parentheses around
function arguments
staging: fbtft: fb_hx8340bn.c: remove extra parentheses around
function arguments
staging: fbtft: fb_hx8353d.c: remove extra parentheses around function
arguments
staging: fbtft: fb_s6d02a1.c: remove extra parentheses around function
arguments
staging: fbtft: fb_st7735r.c: remove extra parentheses around function
arguments
staging: fbtft: Remove unnecessary pointer to potinter cast
staging: fbtft: fbtft-io.c: remove extra parentheses around function
arguments
staging: fbtft: fbtft_device.c: remove extra parentheses around
function arguments
staging: goldfish: remove extra parentheses around function arguments

 drivers/staging/fbtft/fb_agm1264k-fl.c              |  2 +-
 drivers/staging/fbtft/fb_hx8340bn.c                 |  2 +-
 drivers/staging/fbtft/fb_hx8353d.c                  |  2 +-
 drivers/staging/fbtft/fb_s6d02a1.c                  |  2 +-
 drivers/staging/fbtft/fb_st7735r.c                  |  2 +-
 drivers/staging/fbtft/fbtft-core.c                  |  2 +-
 drivers/staging/fbtft/fbtft-io.c                    |  8 ++++----
 drivers/staging/fbtft/fbtft_device.c                |  4 ++--
 drivers/staging/ft1000/ft1000-pcmcia/ft1000_dnld.c  |  4 ++--
 drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c    |  8 +++++---
 drivers/staging/ft1000/ft1000-usb/ft1000_debug.c    |  8 ++++----
 drivers/staging/ft1000/ft1000-usb/ft1000_download.c | 14 +++++++-------
 drivers/staging/ft1000/ft1000-usb/ft1000_hw.c       | 18 +++++++++---------
 drivers/staging/fwserial/fwserial.c                 |  2 +-
 drivers/staging/goldfish/goldfish_audio.c           |  8 ++++----
 drivers/staging/media/lirc/lirc_imon.c              |  4 ++--
 drivers/staging/media/lirc/lirc_parallel.c          |  2 +-
 drivers/staging/media/lirc/lirc_sasem.c             |  6 +++---
 drivers/staging/media/lirc/lirc_serial.c            |  2 +-
 drivers/staging/mt29f_spinand/mt29f_spinand.c       |  2 +-
 20 files changed, 52 insertions(+), 50 deletions(-)
Signature · 6 lines
1.9.3


-- 
Kind Regards,
Aya Saif El-yazal Mahfouz