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-next>] [day] [month] [year] [list]
Message-Id: <1443078892-4417-1-git-send-email-oliver+list@schinagl.nl>
Date:	Thu, 24 Sep 2015 09:14:52 +0200
From:	Olliver Schinagl <oliver+list@...inagl.nl>
To:	Linus Walleij <linus.walleij@...aro.org>,
	Alexandre Courbot <gnurou@...il.com>,
	Mika Westerberg <mika.westerberg@...ux.intel.com>
Cc:	linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org,
	Olliver Schinagl <oliver@...inagl.nl>
Subject: [PATCH 1/1] gpio: gpiolib: fix identation

From: Olliver Schinagl <oliver@...inagl.nl>

Just a very small cosmetical indentation fix, no code changes

Signed-off-by: Olliver Schinagl <oliver@...inagl.nl>
---
 drivers/gpio/gpiolib.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c
index 980c1f8..5ef9ac2 100644
--- a/drivers/gpio/gpiolib.c
+++ b/drivers/gpio/gpiolib.c
@@ -1746,6 +1746,8 @@ static struct gpio_desc *acpi_find_gpio(struct device *dev, const char *con_id,
 		if (con_id && strcmp(con_id, "gpios")) {
 			snprintf(propname, sizeof(propname), "%s-%s",
 				 con_id, gpio_suffixes[i]);
+			if (!IS_ERR(desc) || (PTR_ERR(desc) == -EPROBE_DEFER))
+				break;
 		} else {
 			snprintf(propname, sizeof(propname), "%s",
 				 gpio_suffixes[i]);
-- 
2.5.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