Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753347AbbHUGOh (ORCPT ); Fri, 21 Aug 2015 02:14:37 -0400 Received: from mail-wi0-f182.google.com ([209.85.212.182]:37323 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751863AbbHUGOe (ORCPT ); Fri, 21 Aug 2015 02:14:34 -0400 From: Peng Sun To: gregkh@linuxfoundation.org, arve@android.com, riandrews@android.com Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Peng Sun Subject: [PATCH 4/6] fix android/sync.h some coding style CHECK issues Date: Fri, 21 Aug 2015 14:13:55 +0800 Message-Id: <1440137637-11351-5-git-send-email-sironhide0null@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1440137637-11351-4-git-send-email-sironhide0null@gmail.com> References: <1440137637-11351-1-git-send-email-sironhide0null@gmail.com> <1440137637-11351-2-git-send-email-sironhide0null@gmail.com> <1440137637-11351-3-git-send-email-sironhide0null@gmail.com> <1440137637-11351-4-git-send-email-sironhide0null@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1167 Lines: 39 Signed-off-by: Peng Sun --- drivers/staging/android/sync.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/android/sync.h b/drivers/staging/android/sync.h index 61f8a3a..71fb800 100644 --- a/drivers/staging/android/sync.h +++ b/drivers/staging/android/sync.h @@ -94,12 +94,11 @@ struct sync_timeline { const struct sync_timeline_ops *ops; char name[32]; - /* protected by child_list_lock */ bool destroyed; int context, value; struct list_head child_list_head; - spinlock_t child_list_lock; + spinlock_t child_list_lock; /* protected destroyed */ struct list_head active_list_head; @@ -351,6 +350,6 @@ void sync_dump(void); # define sync_dump() #endif int sync_fence_wake_up_wq(wait_queue_t *curr, unsigned mode, - int wake_flags, void *key); + int wake_flags, void *key); #endif /* _LINUX_SYNC_H */ -- 1.9.1 -- 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/