lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20150304102852.GA9410@sloth>
Date:	Wed, 4 Mar 2015 11:28:52 +0100
From:	Quentin Lambert <lambert.quentin@...il.com>
To:	Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc:	kernel-janitors@...r.kernel.org, devel@...verdev.osuosl.org,
	linux-kernel@...r.kernel.org
Subject: [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(-)

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ