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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
 <PH7PR16MB6196CF24BF806ED8F2B3B59BE5A02@PH7PR16MB6196.namprd16.prod.outlook.com>
Date: Fri, 28 Mar 2025 13:39:17 +0000
From: Avri Altman <Avri.Altman@...disk.com>
To: Ulf Hansson <ulf.hansson@...aro.org>, "linux-mmc@...r.kernel.org"
	<linux-mmc@...r.kernel.org>
CC: Adrian Hunter <adrian.hunter@...el.com>, Wolfram Sang
	<wsa+renesas@...g-engineering.com>, Yoshihiro Shimoda
	<yoshihiro.shimoda.uh@...esas.com>, "linux-renesas-soc@...r.kernel.org"
	<linux-renesas-soc@...r.kernel.org>, "linux-kernel@...r.kernel.org"
	<linux-kernel@...r.kernel.org>
Subject: RE: [PATCH 1/5] mmc: core: Convert mmc_can_poweroff_notify() into a
 bool

> It's really a true/false value that matters, let's make it clear by returning a bool
> instead.
> 
> Signed-off-by: Ulf Hansson <ulf.hansson@...aro.org>
Reviewed-by: Avri Altman <avri.altman@...disk.com>

> ---
>  drivers/mmc/core/mmc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c index
> 1522fd2b517d..3424bc9e20c5 100644
> --- a/drivers/mmc/core/mmc.c
> +++ b/drivers/mmc/core/mmc.c
> @@ -2007,7 +2007,7 @@ static int mmc_sleep(struct mmc_host *host)
>  	return err;
>  }
> 
> -static int mmc_can_poweroff_notify(const struct mmc_card *card)
> +static bool mmc_can_poweroff_notify(const struct mmc_card *card)
>  {
>  	return card &&
>  		mmc_card_mmc(card) &&
> --
> 2.43.0
> 


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ