Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1231908 > unrolled thread
| Started by | Alexandre Courbot <gnurou@gmail.com> |
|---|---|
| First post | 2015-09-24 09:20 +0200 |
| Last post | 2015-09-24 09:50 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH 1/1] gpio: gpiolib: fix identation Alexandre Courbot <gnurou@gmail.com> - 2015-09-24 09:20 +0200
Re: [PATCH 1/1] gpio: gpiolib: fix identation Olliver Schinagl <oliver@schinagl.nl> - 2015-09-24 09:50 +0200
| From | Alexandre Courbot <gnurou@gmail.com> |
|---|---|
| Date | 2015-09-24 09:20 +0200 |
| Subject | Re: [PATCH 1/1] gpio: gpiolib: fix identation |
| Message-ID | <qc8YV-4tW-5@gated-at.bofh.it> |
On Thu, Sep 24, 2015 at 4:14 PM, Olliver Schinagl
<oliver+list@schinagl.nl> wrote:
> From: Olliver Schinagl <oliver@schinagl.nl>
>
> Just a very small cosmetical indentation fix, no code changes
You are adding two lines and not removing any, so it is not just a
cosmetic fix and actually adds code.
>
> Signed-off-by: Olliver Schinagl <oliver@schinagl.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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Olliver Schinagl <oliver@schinagl.nl> |
|---|---|
| Date | 2015-09-24 09:50 +0200 |
| Message-ID | <qc9rX-51C-9@gated-at.bofh.it> |
| In reply to | #1231908 |
Appologies! I should not do this early in the morning. It is indeed a
copy/paste fail (and not noticing the missing minus) from the section
above i was working on.
I'm sorry for the noise!
Olliver
On 24-09-15 09:17, Alexandre Courbot wrote:
> On Thu, Sep 24, 2015 at 4:14 PM, Olliver Schinagl
> <oliver+list@schinagl.nl> wrote:
>> From: Olliver Schinagl <oliver@schinagl.nl>
>>
>> Just a very small cosmetical indentation fix, no code changes
> You are adding two lines and not removing any, so it is not just a
> cosmetic fix and actually adds code.
>
>> Signed-off-by: Olliver Schinagl <oliver@schinagl.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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web