VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   34 Branches   58 Tags
author: Gustavo A. R. Silva <gustavo@embeddedor.com> 2018-08-04 19:04:53 -0500 committer: Kalle Valo <kvalo@codeaurora.org> 2018-08-09 18:15:46 +0300 commit: c7743c428111912fffceb38b860024f7e33b3e3c parent: ad2e6d23bdadd7db7086c578f3c77f244d405b3b
Commit Summary:
ssb: driver_gige: use true and false for boolean values
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/drivers/ssb/driver_gige.c b/drivers/ssb/driver_gige.c
index e9734051e3c4..ebee6b0e3c34 100644
--- a/drivers/ssb/driver_gige.c
+++ b/drivers/ssb/driver_gige.c
@@ -242,7 +242,7 @@ static int ssb_gige_probe(struct ssb_device *sdev,
 bool pdev_is_ssb_gige_core(struct pci_dev *pdev)
 {
 	if (!pdev->resource[0].name)
-		return 0;
+		return false;
 	return (strcmp(pdev->resource[0].name, SSB_GIGE_MEM_RES_NAME) == 0);
 }
 EXPORT_SYMBOL(pdev_is_ssb_gige_core);