lkml.org 
[lkml]   [2021]   [Dec]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ssb: Use true and false for bool variable
On Mon, 27 Dec 2021 14:21:59 +0800
Chaofan Li <lichaofan@cdjrlc.com> wrote:

> Signed-off-by: Chaofan Li <lichaofan@cdjrlc.com>
> ---
> include/linux/ssb/ssb_driver_gige.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/linux/ssb/ssb_driver_gige.h b/include/linux/ssb/ssb_driver_gige.h
> index 15ba0df1ee0d..28c145a51e57 100644
> --- a/include/linux/ssb/ssb_driver_gige.h
> +++ b/include/linux/ssb/ssb_driver_gige.h
> @@ -95,7 +95,7 @@ static inline bool ssb_gige_must_flush_posted_writes(struct pci_dev *pdev)
> struct ssb_gige *dev = pdev_to_ssb_gige(pdev);
> if (dev)
> return (dev->dev->bus->chip_id == 0x4785);
> - return 0;
> + return false;
> }
>
> /* Get the device MAC address */


Acked-by: Michael Büsch <m@bues.ch>


--
Michael
https://bues.ch/
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2021-12-27 13:31    [W:0.056 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site