Messages in this thread Patch in this message | | | From | Peng Sun <> | Subject | [PATCH 7/8] fix staging:android style issue:definition without comment | Date | Wed, 26 Aug 2015 11:52:16 +0800 |
| |
Signed-off-by: Peng Sun <sironhide0null@gmail.com> --- drivers/staging/android/sync.h | 2 +- drivers/staging/android/timed_gpio.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/android/sync.h b/drivers/staging/android/sync.h index 18a94ed..bb42923 100644 --- a/drivers/staging/android/sync.h +++ b/drivers/staging/android/sync.h @@ -94,11 +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; + /* protect field destroyed */ spinlock_t child_list_lock; struct list_head active_list_head; diff --git a/drivers/staging/android/timed_gpio.c b/drivers/staging/android/timed_gpio.c index 5407257..5c55463 100644 --- a/drivers/staging/android/timed_gpio.c +++ b/drivers/staging/android/timed_gpio.c @@ -29,7 +29,7 @@ struct timed_gpio_data { struct timed_output_dev dev; struct hrtimer timer; - spinlock_t lock; + spinlock_t lock; /* protect structure fields */ unsigned gpio; int max_timeout; u8 active_low; -- 1.9.1
| |