From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758641AbaGXCjE (ORCPT ); Wed, 23 Jul 2014 22:39:04 -0400 Received: from mail-ig0-f173.google.com ([209.85.213.173]:60864 "EHLO mail-ig0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758371AbaGXCjC (ORCPT ); Wed, 23 Jul 2014 22:39:02 -0400 From: Nicholas Krause To: gregkh@linuxfoundation.org Cc: john.stultz@linaro.org, ccross@android.com, mitchelh@codeaurora.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH] staging: Remove checkpatch error from ion.c Date: Wed, 23 Jul 2014 22:38:57 -0400 Message-Id: <1406169537-3660-1-git-send-email-xerofoify@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch removes a checkpatch error by adding a line below the definitions of the character array buf and the pointer path. Signed-off-by: Nicholas Krause --- drivers/staging/android/ion/ion.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c index 2703609..cad76ae 100644 --- a/drivers/staging/android/ion/ion.c +++ b/drivers/staging/android/ion/ion.c @@ -805,6 +805,7 @@ struct ion_client *ion_client_create(struct ion_device *dev, client, &debug_client_fops); if (!client->debug_root) { char buf[256], *path; + path = dentry_path(dev->clients_debug_root, buf, 256); pr_err("Failed to create client debugfs at %s/%s\n", path, client->display_name); -- 1.9.1