* [PATCH] staging: lustre: fld_request.c: Remove else after return.
@ 2015-02-27 2:58 Alberto Pires de Oliveira Neto
2015-02-27 14:54 ` Sudip Mukherjee
0 siblings, 1 reply; 6+ messages in thread
From: Alberto Pires de Oliveira Neto @ 2015-02-27 2:58 UTC (permalink / raw)
To: oleg.drokin, andreas.dilger, gregkh
Cc: linux-kernel, Alberto Pires de Oliveira Neto
very sorry for the html patch. It was my first one.
Signed-off-by: Alberto Pires de Oliveira Neto <mrpenguin2005@gmail.com>
---
drivers/staging/lustre/lustre/fld/fld_request.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/lustre/lustre/fld/fld_request.c b/drivers/staging/lustre/lustre/fld/fld_request.c
index b8d17e1..0b00301 100644
--- a/drivers/staging/lustre/lustre/fld/fld_request.c
+++ b/drivers/staging/lustre/lustre/fld/fld_request.c
@@ -217,10 +217,9 @@ int fld_client_add_target(struct lu_client_fld *fld,
CERROR("%s: Attempt to add target %s (idx %llu) on fly - skip it\n",
fld->lcf_name, name, tar->ft_idx);
return 0;
- } else {
- CDEBUG(D_INFO, "%s: Adding target %s (idx %llu)\n",
- fld->lcf_name, name, tar->ft_idx);
- }
+ }
+ CDEBUG(D_INFO, "%s: Adding target %s (idx %llu)\n",
+ fld->lcf_name, name, tar->ft_idx);
OBD_ALLOC_PTR(target);
if (target == NULL)
--
1.9.1
^ permalink raw reply related [flat|nested] 6+ messages in thread[parent not found: <1425000006-29836-1-git-send-email-mrpenguin2005@gmail.com>]
* Re: [PATCH] staging: lustre: fld_request.c: Remove else after return.
[not found] <1425000006-29836-1-git-send-email-mrpenguin2005@gmail.com>
@ 2015-02-27 1:30 ` Greg KH
2015-02-27 4:07 ` Alberto Pires de Oliveira Neto
0 siblings, 1 reply; 6+ messages in thread
From: Greg KH @ 2015-02-27 1:30 UTC (permalink / raw)
To: Alberto Pires de Oliveira Neto; +Cc: oleg.drokin, andreas.dilger, linux-kernel
On Thu, Feb 26, 2015 at 10:20:06PM -0300, Alberto Pires de Oliveira Neto wrote:
> Signed-off-by: Alberto Pires de Oliveira Neto <mrpenguin2005@gmail.com>
>
> drivers/staging/lustre/lustre/fld/fld_request.c | 7 +++----
> 1 file changed, 3 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/staging/lustre/lustre/fld/fld_request.c b/drivers/staging/
> lustre/lustre/fld/fld_request.c index b8d17e1..0b00301 100644 --- a/drivers/
> staging/lustre/lustre/fld/fld_request.c +++ b/drivers/staging/lustre/lustre/fld
> /fld_request.c @@ -217,10 +217,9 @@ int fld_client_add_target(struct
> lu_client_fld *fld,
>
> CERROR("%s: Attempt to add target %s (idx %llu) on fly - skip it\n",
> fld->lcf_name, name, tar->ft_idx);
> return 0;
>
> • } else {
>
> • CDEBUG(D_INFO, “%s: Adding target %s (idx %llu)\n”,
>
> • fld->lcf_name, name, tar->ft_idx);
>
> • }
>
> + } + CDEBUG(D_INFO, “%s: Adding target %s (idx %llu)\n”, + fld->lcf_name,
> name, tar->ft_idx);
>
> OBD_ALLOC_PTR(target);
> if (target == NULL)
>
> — 1.9.1
>
> *
You sent an html patch, which obviously can not be applied :(
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [PATCH] staging: lustre: fld_request.c: Remove else after return.
2015-02-27 1:30 ` Greg KH
@ 2015-02-27 4:07 ` Alberto Pires de Oliveira Neto
0 siblings, 0 replies; 6+ messages in thread
From: Alberto Pires de Oliveira Neto @ 2015-02-27 4:07 UTC (permalink / raw)
To: Greg KH; +Cc: oleg.drokin, andreas.dilger, linux-kernel
Hi,
I'm terribly sorry. It's my first patch. I used git send-email to send it.
It's also my first time using sendgrid as a relay, and it seems that
there was "convert text to html" option turned on by default.
I tested again and now it seems ok.
I send the patch again.
Thanks, for the patience.
On Thu, Feb 26, 2015 at 10:30 PM, Greg KH <gregkh@linuxfoundation.org> wrote:
> On Thu, Feb 26, 2015 at 10:20:06PM -0300, Alberto Pires de Oliveira Neto wrote:
>> Signed-off-by: Alberto Pires de Oliveira Neto <mrpenguin2005@gmail.com>
>>
>> drivers/staging/lustre/lustre/fld/fld_request.c | 7 +++----
>> 1 file changed, 3 insertions(+), 4 deletions(-)
>>
>> diff --git a/drivers/staging/lustre/lustre/fld/fld_request.c b/drivers/staging/
>> lustre/lustre/fld/fld_request.c index b8d17e1..0b00301 100644 --- a/drivers/
>> staging/lustre/lustre/fld/fld_request.c +++ b/drivers/staging/lustre/lustre/fld
>> /fld_request.c @@ -217,10 +217,9 @@ int fld_client_add_target(struct
>> lu_client_fld *fld,
>>
>> CERROR("%s: Attempt to add target %s (idx %llu) on fly - skip it\n",
>> fld->lcf_name, name, tar->ft_idx);
>> return 0;
>>
>> • } else {
>>
>> • CDEBUG(D_INFO, “%s: Adding target %s (idx %llu)\n”,
>>
>> • fld->lcf_name, name, tar->ft_idx);
>>
>> • }
>>
>> + } + CDEBUG(D_INFO, “%s: Adding target %s (idx %llu)\n”, + fld->lcf_name,
>> name, tar->ft_idx);
>>
>> OBD_ALLOC_PTR(target);
>> if (target == NULL)
>>
>> — 1.9.1
>>
>> *
>
> You sent an html patch, which obviously can not be applied :(
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-02-28 16:39 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-27 2:58 [PATCH] staging: lustre: fld_request.c: Remove else after return Alberto Pires de Oliveira Neto
2015-02-27 14:54 ` Sudip Mukherjee
[not found] ` <CAG5o4DW1CbV_MnXuQbiw3e5JHeqUS1Sd+=jai0DCeB6fWrPuXw@mail.gmail.com>
2015-02-28 9:29 ` Sudip Mukherjee
2015-02-28 16:39 ` Alberto Pires de Oliveira Neto
[not found] <1425000006-29836-1-git-send-email-mrpenguin2005@gmail.com>
2015-02-27 1:30 ` Greg KH
2015-02-27 4:07 ` Alberto Pires de Oliveira Neto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox