Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1205587

Re: [PATCH 2/3] staging: lustre: Add blank line after variable declaration

From Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/3] staging: lustre: Add blank line after variable declaration
Date 2015-08-12 07:10 +0200
Message-ID <pWwsx-2Cs-5@gated-at.bofh.it> (permalink)
References <pWhWz-6y2-19@gated-at.bofh.it> <pWhWA-6y2-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Aug 11, 2015 at 09:32:30PM +0800, Swee Hua Law wrote:
> Add blank line after variable declaration
> 
> Signed-off-by: Swee Hua Law <sweehua81@gmail.com>
> ---
>  drivers/staging/lustre/lustre/llite/lloop.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/staging/lustre/lustre/llite/lloop.c b/drivers/staging/lustre/lustre/llite/lloop.c
> index b643f11..de5eaa0 100644
> --- a/drivers/staging/lustre/lustre/llite/lloop.c
> +++ b/drivers/staging/lustre/lustre/llite/lloop.c
> @@ -372,9 +372,11 @@ err:
>  static inline void loop_handle_bio(struct lloop_device *lo, struct bio *bio)
>  {
>  	int ret;
> +
>  	ret = do_bio_lustrebacked(lo, bio);
>  	while (bio) {
>  		struct bio *tmp = bio->bi_next;
> +
>  		bio->bi_next = NULL;
>  		bio_endio(bio);
This patch will not apply. I am not sure how your tree got
bio_endio(bio) but in the staging tree this line is bio_endio(bio, ret);

regards
sudip	
--
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/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/3] staging: lustre: fix checkpatch problems in llite/lloop.c   Swee Hua Law <sweehua81@gmail.com> - 2015-08-11 15:40 +0200
  [PATCH 3/3] staging: lustre: Remove the space before \n Swee Hua Law <sweehua81@gmail.com> - 2015-08-11 15:40 +0200
    Re: [PATCH 3/3] staging: lustre: Remove the space before \n Joe Perches <joe@perches.com> - 2015-08-11 16:10 +0200
  [PATCH 2/3] staging: lustre: Add blank line after variable declaration Swee Hua Law <sweehua81@gmail.com> - 2015-08-11 15:40 +0200
    Re: [PATCH 2/3] staging: lustre: Add blank line after variable  declaration Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2015-08-12 07:10 +0200
      Re: [PATCH 2/3] staging: lustre: Add blank line after variable  declaration Joe Perches <joe@perches.com> - 2015-08-12 08:40 +0200
  [PATCH 1/3] staging: lustre: Do not init global to NULL Swee Hua Law <sweehua81@gmail.com> - 2015-08-11 15:40 +0200

csiph-web