login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
April
»
1
Re: [PATCH 1/7] LinuxPPS core support.
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Andrew Morton
Subject:
Re: [PATCH 1/7] LinuxPPS core support.
Date: Tuesday, April 1, 2008 - 2:09 am
On Tue, 1 Apr 2008 10:59:50 +0200 Rodolfo Giometti <giometti@enneenne.com> wrote:
quoted text
> On Fri, Mar 28, 2008 at 03:21:39AM -0700, Andrew Morton wrote: > > On Thu, 6 Mar 2008 13:09:00 +0100 Rodolfo Giometti <giometti@linux.it> wrote: > > > > > This patch adds the kernel side of the PPS support currently named > > > "LinuxPPS". > > > > powerpc: > > > > drivers/pps/pps.c: In function 'pps_cdev_ioctl': > > drivers/pps/pps.c:166: warning: format '%lld' expects type 'long long int', but argument 2 has type '__s64' > > drivers/pps/kapi.c: In function 'pps_event': > > drivers/pps/kapi.c:225: warning: format '%llu' expects type 'long long unsigned int', but argument 3 has type '__s64' > > drivers/pps/sysfs.c: In function 'pps_show_assert': > > drivers/pps/sysfs.c:42: warning: format '%lld' expects type 'long long int', but argument 3 has type '__s64' > > drivers/pps/sysfs.c:42: warning: format '%lld' expects type 'long long int', but argument 3 has type '__s64' > > drivers/pps/sysfs.c: In function 'pps_show_clear': > > drivers/pps/sysfs.c:56: warning: format '%lld' expects type 'long long int', but argument 3 has type '__s64' > > drivers/pps/sysfs.c:56: warning: format '%lld' expects type 'long long int', but argument 3 has type '__s64' > > Oops! I have no powerpc system... how can I solve this issue?
Use %lld (if these things can legitimately be negative - otherwise %llu) and cast the argument to (long long) or (unsigned long long). --
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
LinuxPPS (RESUBMIT 2): the PPS Linux implementation.
, Rodolfo Giometti
, (Thu Mar 6, 5:08 am)
[PATCH 1/7] LinuxPPS core support.
, Rodolfo Giometti
, (Thu Mar 6, 5:09 am)
[PATCH 2/7] PPS: userland header file for PPS API.
, Rodolfo Giometti
, (Thu Mar 6, 5:09 am)
[PATCH 3/7] PPS: documentation programs and examples.
, Rodolfo Giometti
, (Thu Mar 6, 5:09 am)
Re: LinuxPPS (RESUBMIT 2): the PPS Linux implementation.
, john stultz
, (Wed Mar 19, 10:29 am)
Re: LinuxPPS (RESUBMIT 2): the PPS Linux implementation.
, Andrew Morton
, (Wed Mar 19, 2:21 pm)
Re: LinuxPPS (RESUBMIT 2): the PPS Linux implementation.
, Dave Jones
, (Wed Mar 19, 2:55 pm)
Re: [PATCH 1/7] LinuxPPS core support.
, Andrew Morton
, (Thu Mar 20, 1:03 pm)
Re: [PATCH 1/7] LinuxPPS core support.
, Kay Sievers
, (Thu Mar 20, 8:36 pm)
Re: [PATCH 1/7] LinuxPPS core support.
, Kay Sievers
, (Thu Mar 20, 8:50 pm)
Re: [PATCH 1/7] LinuxPPS core support.
, Rodolfo Giometti
, (Fri Mar 21, 3:56 am)
Re: [PATCH 1/7] LinuxPPS core support.
, Rodolfo Giometti
, (Fri Mar 21, 3:57 am)
Re: [PATCH 1/7] LinuxPPS core support.
, Kay Sievers
, (Fri Mar 21, 10:00 am)
Re: [PATCH 1/7] LinuxPPS core support.
, Kay Sievers
, (Fri Mar 21, 10:01 am)
Re: [PATCH 1/7] LinuxPPS core support.
, Rodolfo Giometti
, (Tue Mar 25, 3:48 am)
Re: [PATCH 1/7] LinuxPPS core support.
, Rodolfo Giometti
, (Tue Mar 25, 3:53 am)
Re: [PATCH 1/7] LinuxPPS core support.
, Rodolfo Giometti
, (Tue Mar 25, 7:44 am)
Re: [PATCH 1/7] LinuxPPS core support.
, Andrew Morton
, (Thu Mar 27, 8:25 pm)
Re: [PATCH 1/7] LinuxPPS core support.
, Andrew Morton
, (Fri Mar 28, 3:21 am)
Re: [PATCH 1/7] LinuxPPS core support.
, Rodolfo Giometti
, (Tue Apr 1, 1:42 am)
Re: [PATCH 1/7] LinuxPPS core support.
, Andrew Morton
, (Tue Apr 1, 1:55 am)
Re: [PATCH 1/7] LinuxPPS core support.
, Rodolfo Giometti
, (Tue Apr 1, 1:59 am)
Re: [PATCH 1/7] LinuxPPS core support.
, Andrew Morton
, (Tue Apr 1, 2:09 am)
Re: [PATCH 1/7] LinuxPPS core support.
, Rodolfo Giometti
, (Tue Apr 1, 2:40 am)
Re: [PATCH 1/7] LinuxPPS core support.
, Rodolfo Giometti
, (Tue Apr 1, 2:50 am)
Re: [PATCH 1/7] LinuxPPS core support.
, Rodolfo Giometti
, (Tue Apr 1, 2:45 pm)
Re: [PATCH 1/7] LinuxPPS core support.
, Andrew Morton
, (Tue Apr 1, 2:57 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Trent Waddington
Re: Gaming Interface
Takashi Iwai
Re: [PATCH] usb: usbmixer error path fix
Jeremy Fitzhardinge
Re: [patch 1/6] Re-enable VDSO by default with PARAVIRT
Dan Carpenter
Re: [patch] dma-debug: off by one issue
Pekka Enberg
Re: latest -git: suspend: unable to handle kernel paging request (was Re: no_conso...
git
:
Stephen R. van den Berg
Re: [RFC] origin link for cherry-pick and revert
Christian Stimming
git-gui: Fix broken revert confirmation.
Junio C Hamano
Re: git-svnimport
Mark Burton
Re: [PATCH] builtin-branch: highlight current remote branches with an asterisk
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
linux-netdev
:
Nick Piggin
Re: Kernel WARNING: at net/core/dev.c:1330 __netif_schedule+0x2c/0x98()
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Ingo Molnar
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
Gerrit Renker
[PATCH 37/37] dccp: Debugging functions for feature negotiation
openbsd-misc
:
Christophe Rioux
Implementation example of snmp
Ryan McBride
Re: Packets Per Second Limit?
Nick Holland
Re: booting openbsd on eee without cd-rom
frantisek holop
Re: splassert: vwakeup: and friends
Bryan Irvine
Re: OpenBSD 4.7 Released, May 19 2010
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
bnx2x: Fan failure mechanism on additional design
Linux Kernel Mailing List
cpumask: make irq_set_affinity() take a const struct cpumask
Linux Kernel Mailing List
ARM: 5670/1: bcmring: add default configuration for bcmring arch
Linux Kernel Mailing List
ahci: Workaround HW bug for SB600/700 SATA controller PMP support
Colocation donated by:
Syndicate