From: Jason Wang <jasowang@redhat.com>
To: mst@redhat.com, davem@davemloft.net, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Cc: maxk@qualcomm.com, edumazet@google.com, krkumar2@in.ibm.com,
ernesto.martin@viasat.com, haixiao@juniper.net,
Jason Wang <jasowang@redhat.com>
Subject: [net-next resend v4 1/7] tuntap: log the unsigned informaiton with %u
Date: Mon, 29 Oct 2012 14:15:45 +0800 [thread overview]
Message-ID: <1351491351-11477-2-git-send-email-jasowang@redhat.com> (raw)
In-Reply-To: <1351491351-11477-1-git-send-email-jasowang@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
---
drivers/net/tun.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/tun.c b/drivers/net/tun.c
index 0873cdc..ef13cf0 100644
--- a/drivers/net/tun.c
+++ b/drivers/net/tun.c
@@ -1422,7 +1422,7 @@ static long __tun_chr_ioctl(struct file *file, unsigned int cmd,
if (!tun)
goto unlock;
- tun_debug(KERN_INFO, tun, "tun_chr_ioctl cmd %d\n", cmd);
+ tun_debug(KERN_INFO, tun, "tun_chr_ioctl cmd %u\n", cmd);
ret = 0;
switch (cmd) {
@@ -1462,7 +1462,7 @@ static long __tun_chr_ioctl(struct file *file, unsigned int cmd,
break;
}
tun->owner = owner;
- tun_debug(KERN_INFO, tun, "owner set to %d\n",
+ tun_debug(KERN_INFO, tun, "owner set to %u\n",
from_kuid(&init_user_ns, tun->owner));
break;
@@ -1474,7 +1474,7 @@ static long __tun_chr_ioctl(struct file *file, unsigned int cmd,
break;
}
tun->group = group;
- tun_debug(KERN_INFO, tun, "group set to %d\n",
+ tun_debug(KERN_INFO, tun, "group set to %u\n",
from_kgid(&init_user_ns, tun->group));
break;
--
1.7.1
next prev parent reply other threads:[~2012-10-29 6:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-29 6:15 [net-next resend v4 0/7] Multiqueue support in tuntap Jason Wang
2012-10-29 6:15 ` Jason Wang [this message]
2012-10-29 6:15 ` [net-next resend v4 2/7] tuntap: move socket to tun_file Jason Wang
2012-10-29 6:15 ` [net-next resend v4 3/7] tuntap: RCUify dereferencing between tun_struct and tun_file Jason Wang
2012-10-29 6:15 ` [net-next resend v4 4/7] tuntap: introduce multiqueue flags Jason Wang
2012-10-29 6:15 ` [net-next resend v4 5/7] tuntap: multiqueue support Jason Wang
2012-10-31 18:16 ` David Miller
2012-11-01 5:04 ` Jason Wang
2012-10-29 6:15 ` [net-next resend v4 6/7] tuntap: add ioctl to attach or detach a file form tuntap device Jason Wang
2012-10-29 6:15 ` [net-next resend v4 7/7] tuntap: choose the txq based on rxq Jason Wang
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=1351491351-11477-2-git-send-email-jasowang@redhat.com \
--to=jasowang@redhat.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=ernesto.martin@viasat.com \
--cc=haixiao@juniper.net \
--cc=krkumar2@in.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=maxk@qualcomm.com \
--cc=mst@redhat.com \
--cc=netdev@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).