From ce745572b4f306d91c9a1f2b6ac677a130b8e2ab Mon Sep 17 00:00:00 2001 From: Richard Cochran Date: Sun, 26 Aug 2012 15:09:15 +0200 Subject: [PATCH] Use zero for the UDS port number. Using 0xffff looks dumb in the log and in the pmc output. Signed-off-by: Richard Cochran --- clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clock.c b/clock.c index 48fc0e3..b5219c2 100644 --- a/clock.c +++ b/clock.c @@ -384,7 +384,7 @@ struct clock *clock_create(int phc_index, struct interface *iface, int count, /* * One extra port is for the UDS interface. */ - c->port[i] = port_open(phc_index, timestamping, 0xffff, &udsif, c); + c->port[i] = port_open(phc_index, timestamping, 0, &udsif, c); if (!c->port[i]) { pr_err("failed to open the UDS port"); return NULL;