From: Andreas Henriksson <andreas@fatal.se>
To: shemminger@linux-foundation.org
Cc: netdev@vger.kernel.org, Patrick McHardy <kaber@trash.net>,
Andreas Henriksson <andreas@fatal.se>
Subject: [PATCH] Also do tc_core_time2big argument (long->unsigned).
Date: Fri, 12 Oct 2007 14:37:09 +0200 [thread overview]
Message-ID: <1192192629-23966-1-git-send-email-andreas@fatal.se> (raw)
In-Reply-To: <470F6264.5090808@trash.net>
tc_core_time2big only used in tc/q_netem.c where it gets passed an unsigned.
Signed-off-by: Andreas Henriksson <andreas@fatal.se>
---
tc/tc_core.c | 2 +-
tc/tc_core.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tc/tc_core.c b/tc/tc_core.c
index 8c3a2ac..1365e08 100644
--- a/tc/tc_core.c
+++ b/tc/tc_core.c
@@ -26,7 +26,7 @@
static double tick_in_usec = 1;
static double clock_factor = 1;
-int tc_core_time2big(long time)
+int tc_core_time2big(unsigned time)
{
__u64 t = time;
diff --git a/tc/tc_core.h b/tc/tc_core.h
index b1ede1e..3a0ed7c 100644
--- a/tc/tc_core.h
+++ b/tc/tc_core.h
@@ -6,7 +6,7 @@
#define TIME_UNITS_PER_SEC 1000000
-int tc_core_time2big(long time);
+int tc_core_time2big(unsigned time);
unsigned tc_core_time2tick(unsigned time);
unsigned tc_core_tick2time(unsigned tick);
unsigned tc_core_time2ktime(unsigned time);
--
1.5.3.4
prev parent reply other threads:[~2007-10-12 12:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-12 11:49 [PATCH] Switch helpers tc_core_{time2ktime,ktime2time} from long to unsigned as well Andreas Henriksson
2007-10-12 11:56 ` [PATCH] Also do tc_core_time2big argument (long->unsigned) Andreas Henriksson
2007-10-12 12:02 ` Patrick McHardy
2007-10-12 12:37 ` Andreas Henriksson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1192192629-23966-1-git-send-email-andreas@fatal.se \
--to=andreas@fatal.se \
--cc=kaber@trash.net \
--cc=netdev@vger.kernel.org \
--cc=shemminger@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.