[PATCH] Staging: lustre: lustre: lov: lov_dev.c: Added missing blank line

Greg KH gregkh at linuxfoundation.org
Mon Sep 14 14:12:27 UTC 2015


On Mon, Sep 14, 2015 at 02:41:24PM +0530, Sakshi Vaid wrote:
> Added a missing blank line after declarations.
> 
> 158: WARNING: Missing a blank line after declarations
> 183: WARNING: Missing a blank line after declarations
> 
> Signed-off-by: Sakshi Vaid <sakshivaid95 at gmail.com>
> ---
>  drivers/staging/lustre/lustre/lclient/lcommon_cl.c | 4 ++--
>  drivers/staging/lustre/lustre/lov/lov_dev.c        | 2 ++
>  2 files changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/lustre/lustre/lclient/lcommon_cl.c b/drivers/staging/lustre/lustre/lclient/lcommon_cl.c
> index d31bf73..68cf1b7 100644
> --- a/drivers/staging/lustre/lustre/lclient/lcommon_cl.c
> +++ b/drivers/staging/lustre/lustre/lclient/lcommon_cl.c
> @@ -828,8 +828,8 @@ int ccc_prep_size(const struct lu_env *env, struct cl_object *obj,
>  				 * --bug 17336 */
>  				loff_t size = cl_isize_read(inode);
>  				loff_t cur_index = start >> PAGE_CACHE_SHIFT;
> -				loff_t size_index = ((size - 1)
> -							>> PAGE_CACHE_SHIFT);
> +				loff_t size_index =
> +					((size - 1) >> PAGE_CACHE_SHIFT);

This change has nothing to do with what you said you were doing up at
the top of the changelog :(


More information about the devel mailing list