* [PATCH 0/2] int to bool conversion
@ 2015-03-04 10:28 ` Quentin Lambert
0 siblings, 0 replies; 2+ messages in thread
From: Quentin Lambert @ 2015-03-04 10:28 UTC (permalink / raw)
To: Greg Kroah-Hartman; +Cc: kernel-janitors, devel, linux-kernel
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(-)
--
1.9.1
^ permalink raw reply [flat|nested] 2+ messages in thread* [PATCH 0/2] int to bool conversion
@ 2015-03-04 10:28 ` Quentin Lambert
0 siblings, 0 replies; 2+ messages in thread
From: Quentin Lambert @ 2015-03-04 10:28 UTC (permalink / raw)
To: Greg Kroah-Hartman; +Cc: kernel-janitors, devel, linux-kernel
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(-)
--
1.9.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-04 10:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-04 10:28 [PATCH 0/2] int to bool conversion Quentin Lambert
2015-03-04 10:28 ` Quentin Lambert
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.