diff mbox

Update to C-style comments

Message ID 1338362158-24200-1-git-send-email-kejun.zhou@linaro.org
State New
Headers show

Commit Message

Kejun ZHOU May 30, 2012, 7:15 a.m. UTC
Signed-off-by: kejun.zhou <kejun.zhou@linaro.org>
---
 cpuidle/cpuidle_killer.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

Comments

Daniel Lezcano May 30, 2012, 7:21 a.m. UTC | #1
On 05/30/2012 09:15 AM, kejun.zhou wrote:
> Signed-off-by: kejun.zhou <kejun.zhou@linaro.org>
> ---
>  cpuidle/cpuidle_killer.c |    6 ++++--
>  1 files changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/cpuidle/cpuidle_killer.c b/cpuidle/cpuidle_killer.c
> index c8910f4..0e4d666 100644
> --- a/cpuidle/cpuidle_killer.c
> +++ b/cpuidle/cpuidle_killer.c
> @@ -5,8 +5,10 @@
>  #ifndef ANDROID
>  #include <sys/timex.h>
>  #else
> -// As of 4.0.4, Bionic doesn't provide the timex/adjtimex interface
> -// However, the kernel does...
> +/* 
> +* As of 4.0.4, Bionic doesn't provide the timex/adjtimex interface
> +* However, the kernel does...
> +*/
>  #include <linux/timex.h> // for struct timex
>  #include <asm/unistd.h> // for __NR_adjtimex
>  static int adjtimex(struct timex *buf) {

Hmm ... Usually, you should resend your patchset updated with the fixes,
not one on top of your patches.
Also, you did not fix the C-style comments 'everywhere' :)
diff mbox

Patch

diff --git a/cpuidle/cpuidle_killer.c b/cpuidle/cpuidle_killer.c
index c8910f4..0e4d666 100644
--- a/cpuidle/cpuidle_killer.c
+++ b/cpuidle/cpuidle_killer.c
@@ -5,8 +5,10 @@ 
 #ifndef ANDROID
 #include <sys/timex.h>
 #else
-// As of 4.0.4, Bionic doesn't provide the timex/adjtimex interface
-// However, the kernel does...
+/* 
+* As of 4.0.4, Bionic doesn't provide the timex/adjtimex interface
+* However, the kernel does...
+*/
 #include <linux/timex.h> // for struct timex
 #include <asm/unistd.h> // for __NR_adjtimex
 static int adjtimex(struct timex *buf) {