* [PATCH] Staging: lustre: lustre: lov: Add blank line after declarations
@ 2015-02-27 17:53 Hatice ERTÜRK
[not found] ` <1425061227-13966-1-git-send-email-haticeerturk27@gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Hatice ERTÜRK @ 2015-02-27 17:53 UTC (permalink / raw)
To: outreachy-kernel; +Cc: Hatice ERTURK
The following patch fixes the checkpatch.pl warning:
drivers/staging/lustre/lustre/lov/lov_dev.c WARNING: Missing a blank line after declarations
Signed-off-by: Hatice ERTURK <haticeerturk27@gmail.com>
---
drivers/staging/lustre/lustre/lov/lov_dev.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/staging/lustre/lustre/lov/lov_dev.c b/drivers/staging/lustre/lustre/lov/lov_dev.c
index 796a015..aadb8f2 100644
--- a/drivers/staging/lustre/lustre/lov/lov_dev.c
+++ b/drivers/staging/lustre/lustre/lov/lov_dev.c
@@ -155,6 +155,7 @@ static void lov_key_fini(const struct lu_context *ctx,
struct lu_context_key *key, void *data)
{
struct lov_thread_info *info = data;
+
LINVRNT(list_empty(&info->lti_closure.clc_list));
OBD_SLAB_FREE_PTR(info, lov_thread_kmem);
}
@@ -180,6 +181,7 @@ static void lov_session_key_fini(const struct lu_context *ctx,
struct lu_context_key *key, void *data)
{
struct lov_session *info = data;
+
OBD_SLAB_FREE_PTR(info, lov_session_kmem);
}
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] Staging: lustre: lustre: lov: Add blank line after declarations
@ 2015-02-27 18:28 ` Hatice ERTÜRK
2015-03-02 0:29 ` [Outreachy kernel] " Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: Hatice ERTÜRK @ 2015-02-27 18:28 UTC (permalink / raw)
To: outreachy-kernel; +Cc: Hatice ERTURK
The following patch fixes the checkpatch.pl warning:
drivers/staging/lustre/lustre/lov/lov_object.c WARNING: Missing a blank
line after declarations
Signed-off-by: Hatice ERTURK <haticeerturk27@gmail.com>
---
drivers/staging/lustre/lustre/lov/lov_object.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/lustre/lustre/lov/lov_object.c b/drivers/staging/lustre/lustre/lov/lov_object.c
index 4cab730..c52219e 100644
--- a/drivers/staging/lustre/lustre/lov/lov_object.c
+++ b/drivers/staging/lustre/lustre/lov/lov_object.c
@@ -973,6 +973,7 @@ int lov_read_and_clear_async_rc(struct cl_object *clob)
LASSERT(lsm != NULL);
for (i = 0; i < lsm->lsm_stripe_count; i++) {
struct lov_oinfo *loi = lsm->lsm_oinfo[i];
+
if (loi->loi_ar.ar_rc && !rc)
rc = loi->loi_ar.ar_rc;
loi->loi_ar.ar_rc = 0;
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Outreachy kernel] [PATCH 2/2] Staging: lustre: lustre: lov: Add blank line after declarations
2015-02-27 18:28 ` [PATCH 2/2] " Hatice ERTÜRK
@ 2015-03-02 0:29 ` Greg KH
0 siblings, 0 replies; 3+ messages in thread
From: Greg KH @ 2015-03-02 0:29 UTC (permalink / raw)
To: Hatice ERTÜRK; +Cc: outreachy-kernel
On Fri, Feb 27, 2015 at 08:28:26PM +0200, Hatice ERT�RK wrote:
> The following patch fixes the checkpatch.pl warning:
> drivers/staging/lustre/lustre/lov/lov_object.c WARNING: Missing a blank
> line after declarations
>
> Signed-off-by: Hatice ERTURK <haticeerturk27@gmail.com>
> ---
> drivers/staging/lustre/lustre/lov/lov_object.c | 1 +
> 1 file changed, 1 insertion(+)
3 patches, all with the same subject: yet they do different things :(
Please fix up and resend.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-03-02 0:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-27 17:53 [PATCH] Staging: lustre: lustre: lov: Add blank line after declarations Hatice ERTÜRK
[not found] ` <1425061227-13966-1-git-send-email-haticeerturk27@gmail.com>
2015-02-27 18:28 ` [PATCH 2/2] " Hatice ERTÜRK
2015-03-02 0:29 ` [Outreachy kernel] " Greg KH
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.