int to bool conversion
Subsystems (2)
v2 cover int to bool conversion
The second version of this patch did not treat the cases where the use of boolean variable was unnecessary. These cases are now treated in a patchset that was already submitted.
It also left out the cases treated by one Dan Carpenter's patch currently being reviewed:
http://www.spinics.net/lists/linux-kernel-janitors/msg20627.html
Quentin Lambert (1):
[SCSI] mpt2sas: Convert non-returned local variable to boolean when
relevant
drivers/scsi/mpt2sas/mpt2sas_base.c | 12 ++++++------ drivers/scsi/mpt2sas/mpt2sas_config.c | 5 +++-- drivers/scsi/mpt2sas/mpt2sas_ctl.c | 22 ++++++++++------------ drivers/scsi/mpt2sas/mpt2sas_scsih.c | 8 ++++---- drivers/scsi/mpt2sas/mpt2sas_transport.c | 27 ++++++++++++++------------- 5 files changed, 37 insertions(+), 37 deletions(-)
Signature · 1 line
1.9.1