[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120420220220.GA29084@kroah.com>
Date: Fri, 20 Apr 2012 15:02:20 -0700
From: Greg KH <gregkh@...uxfoundation.org>
To: John Stultz <john.stultz@...aro.org>
Cc: Linux Kernel <linux-kernel@...r.kernel.org>,
Colin Cross <ccross@...roid.com>,
Thomas Gleixner <tglx@...utronix.de>,
Android Kernel Team <kernel-team@...roid.com>
Subject: Re: [PATCH 3/4] android-alarm: Rework alarm-dev.c to use upstreamed
alarmtimers
On Fri, Apr 20, 2012 at 12:31:46PM -0700, John Stultz wrote:
> This reworks the alarm-dev.c to use the upstreamed alarmtimers
> interface.
>
> CC: Colin Cross <ccross@...roid.com>
> CC: Thomas Gleixner <tglx@...utronix.de>
> CC: Android Kernel Team <kernel-team@...roid.com>
> Signed-off-by: John Stultz <john.stultz@...aro.org>
> ---
> drivers/staging/android/alarm-dev.c | 108 +++++++++++++++++++++++++++++++---
> 1 files changed, 98 insertions(+), 10 deletions(-)
After this patch, I get the following warnings:
CC drivers/staging/android/alarm-dev.o
drivers/staging/android/alarm-dev.c: In function ‘devalarm_start’:
drivers/staging/android/alarm-dev.c:93:3: warning: passing argument 1 of ‘alarm_start’ from incompatible pointer type [enabled by default]
include/linux/alarmtimer.h:46:6: note: expected ‘struct alarm *’ but argument is of type ‘struct android_alarm *’
drivers/staging/android/alarm-dev.c: In function ‘alarm_dev_init’:
drivers/staging/android/alarm-dev.c:354:2: warning: passing argument 3 of ‘android_alarm_init’ from incompatible pointer type [enabled by default]
drivers/staging/android/android_alarm.h:69:6: note: expected ‘void (*)(struct android_alarm *)’ but argument is of type ‘enum alarmtimer_restart (*)(struct android_alarm *, union ktime_t)’
drivers/staging/android/alarm-dev.c:358:2: warning: passing argument 3 of ‘android_alarm_init’ from incompatible pointer type [enabled by default]
drivers/staging/android/android_alarm.h:69:6: note: expected ‘void (*)(struct android_alarm *)’ but argument is of type ‘enum alarmtimer_restart (*)(struct android_alarm *, union ktime_t)’
Care to send a patch that fixes this up as well, as odds are, something just
went wrong...
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists