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
| ||
|
Date: Sat, 28 Nov 2009 10:48:10 -0500 From: Thiago Farina <tfransosi@...il.com> To: linux-kernel@...r.kernel.org Cc: rpurdie@...ys.net, dave@...1.net, martinez.javier@...il.com, Thiago Farina <tfransosi@...il.com> Subject: [PATCH] leds: fix the return value of ich7_lpc_probe. In the function ich7_lpc_probe there is a 'return' that is not returning any value, but it should because the return type is int not void. Signed-off-by: Thiago Farina <tfransosi@...il.com> --- drivers/leds/leds-ss4200.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/leds/leds-ss4200.c b/drivers/leds/leds-ss4200.c index c7f6347..a0c4092 100644 --- a/drivers/leds/leds-ss4200.c +++ b/drivers/leds/leds-ss4200.c @@ -350,7 +350,7 @@ static int __devinit ich7_lpc_probe(struct pci_dev *dev, status = pci_enable_device(dev); if (status) { dev_err(&dev->dev, "pci_enable_device failed\n"); - return; + return status; } nas_gpio_pci_dev = dev; -- 1.6.6.rc0.61.g41d5b -- 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