From: Quentin Lambert <lambert.quentin@gmail.com>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: kernel-janitors@vger.kernel.org, devel@driverdev.osuosl.org,
linux-kernel@vger.kernel.org
Subject: [PATCH 0/2] int to bool conversion
Date: Wed, 4 Mar 2015 11:28:52 +0100 [thread overview]
Message-ID: <20150304102852.GA9410@sloth> (raw)
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
reply other threads:[~2015-03-04 10:28 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150304102852.GA9410@sloth \
--to=lambert.quentin@gmail.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox