[PATCH] Staging: android: binder: Fixed multi-line strings

Greg KH gregkh at linuxfoundation.org
Mon Oct 29 21:53:36 UTC 2012


On Fri, Oct 26, 2012 at 01:54:19PM +0530, Anmol Sarma wrote:
>  	if (vma == NULL) {
> -		pr_err("binder: %d: binder_alloc_buf failed to "
> -		       "map pages in userspace, no vma\n", proc->pid);
> +		pr_err("%d: binder_alloc_buf failed to map pages in userspace, no vma\n",
> +		 proc->pid);
>  		goto err_no_vma;
>  	}
>  
> @@ -585,8 +587,8 @@ static int binder_update_page_range(struct binder_proc *proc, int allocate,
>  		BUG_ON(*page);
>  		*page = alloc_page(GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO);
>  		if (*page == NULL) {
> -			pr_err("binder: %d: binder_alloc_buf failed "
> -			       "for page at %p\n", proc->pid, page_addr);
> +			pr_err("%d: binder_alloc_buf failed for page at %p\n",
> +			 proc->pid, page_addr);
>  			goto err_alloc_page_failed;
>  		}
>  		tmp_area.addr = page_addr;

What's with the very wierd indentation here for the second line?  Please
indent it properly, one space isn't ok.

greg k-h



More information about the devel mailing list