Skip to content

int to bool conversion

Quentin Lambert kernel-janitors lkml 1 version New

Get series with b4
b4 am 20150304102852.GA9410@sloth

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2staging: rts5208: Convert non-returned local variable to boolean when relevantdrivers/staging/rts5208/ms.c drivers/staging/rts5208/rtsx_chip.c drivers/staging/rts5208/rtsx_scsi.c +1 more+105 -910 replies
2/2staging: rts5208: Convert variable from int to bool and propagate the change to function parametersdrivers/staging/rts5208/ms.c drivers/staging/rts5208/ms.h drivers/staging/rts5208/rtsx_scsi.c +2 more+32 -320 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] int to bool conversion

These patches convert int variables into boolean when relevant.

The first patch only deal with cases where the variable are local, not returned and not given as argument to a function.

The second patch depends on the first one and deal with cases where the local variables are given as argument. It therefore propagates the conversion to the concerned parameters.

Quentin Lambert (2):
staging: rts5208: Convert non-returned local variable to boolean when
relevant
staging: rts5208: Convert variable from int to bool and propagate the
change to function parameters

 drivers/staging/rts5208/ms.c        |  23 ++++---
 drivers/staging/rts5208/ms.h        |   2 +-
 drivers/staging/rts5208/rtsx_chip.c |  56 ++++++++--------
 drivers/staging/rts5208/rtsx_scsi.c |  45 +++++++------
 drivers/staging/rts5208/sd.c        | 124 ++++++++++++++++++------------------
 drivers/staging/rts5208/sd.h        |   2 +-
 6 files changed, 133 insertions(+), 119 deletions(-)
Signature · 1 line
1.9.1