Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754147AbbGANrG (ORCPT ); Wed, 1 Jul 2015 09:47:06 -0400 Received: from sender153-mail.zoho.com ([74.201.84.153]:22870 "EHLO sender153-mail.zoho.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754233AbbGANq5 (ORCPT ); Wed, 1 Jul 2015 09:46:57 -0400 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=subject:references:to:cc:from:message-id:date:user-agent:mime-version:in-reply-to:content-type; b=c+Ik3xaP/K+/ViWy1r3Myq2MhLduRG/J+OIlBzmd692rPztOKIqIJ3Kc03hxe3qe/2Xn01xXs8A2 lGugULIxk3DMVY/noBaJfC6b6sOml6QgZPPohijAsXZUY12IzxsR Subject: [PATCH v2 2/3] Staging: android: ion: fix coding style References: <5593EA18.8060109@zoho.com> To: gregkh@linuxfoundation.org, arve@android.com, riandrews@android.com, sumit.semwal@linaro.org, carlos@cgarcia.org Cc: kernel-janitors@vger.kernel.org, "linux-kernel@vger.kernel.org" From: Sohny Thomas X-Forwarded-Message-Id: <5593EA18.8060109@zoho.com> Message-ID: <5593EF44.3050708@zoho.com> Date: Wed, 1 Jul 2015 19:16:44 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: <5593EA18.8060109@zoho.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1721 Lines: 46 - Fixed 80 char limit exceeding line and a newline after declarations as per checkpatch.pl Signed-of-by: Sohny Thomas --- drivers/staging/android/ion/ion.c | 1 + drivers/staging/android/ion/ion_chunk_heap.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c index 6f48112..e44f5e6 100644 --- a/drivers/staging/android/ion/ion.c +++ b/drivers/staging/android/ion/ion.c @@ -1106,6 +1106,7 @@ struct dma_buf *ion_share_dma_buf(struct ion_client *client, struct ion_buffer *buffer; struct dma_buf *dmabuf; bool valid_handle; + DEFINE_DMA_BUF_EXPORT_INFO(exp_info); mutex_lock(&client->lock); diff --git a/drivers/staging/android/ion/ion_chunk_heap.c b/drivers/staging/android/ion/ion_chunk_heap.c index 5474615..0813163 100644 --- a/drivers/staging/android/ion/ion_chunk_heap.c +++ b/drivers/staging/android/ion/ion_chunk_heap.c @@ -173,8 +173,8 @@ struct ion_heap *ion_chunk_heap_create(struct ion_platform_heap *heap_data) chunk_heap->heap.ops = &chunk_heap_ops; chunk_heap->heap.type = ION_HEAP_TYPE_CHUNK; chunk_heap->heap.flags = ION_HEAP_FLAG_DEFER_FREE; - pr_debug("%s: base %lu size %zu align %ld\n", __func__, chunk_heap->base, - heap_data->size, heap_data->align); + pr_debug("%s: base %lu size %zu align %ld\n", __func__, + chunk_heap->base, heap_data->size, heap_data->align); return &chunk_heap->heap; -- -- 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/