diff options
author | David S. Miller <davem@davemloft.net> | 2012-07-30 17:52:48 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-30 17:52:48 -0400 |
commit | 8bbb181308bc348e02bfdbebdedd4e4ec9d452ce (patch) | |
tree | 0c7bfae228d0faeeb3b81c869f07e533bcab10ba /drivers/net/tun.c | |
parent | a117dacde0288f3ec60b6e5bcedae8fa37ee0dfc (diff) |
tun: Fix formatting.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tun.c')
-rw-r--r-- | drivers/net/tun.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/tun.c b/drivers/net/tun.c index f55c46222613..926d4db5cb38 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c | |||
@@ -1382,9 +1382,9 @@ static long __tun_chr_ioctl(struct file *file, unsigned int cmd, | |||
1382 | if (cmd == TUNSETIFF || _IOC_TYPE(cmd) == 0x89) { | 1382 | if (cmd == TUNSETIFF || _IOC_TYPE(cmd) == 0x89) { |
1383 | if (copy_from_user(&ifr, argp, ifreq_len)) | 1383 | if (copy_from_user(&ifr, argp, ifreq_len)) |
1384 | return -EFAULT; | 1384 | return -EFAULT; |
1385 | } else | 1385 | } else { |
1386 | memset(&ifr, 0, sizeof(ifr)); | 1386 | memset(&ifr, 0, sizeof(ifr)); |
1387 | 1387 | } | |
1388 | if (cmd == TUNGETFEATURES) { | 1388 | if (cmd == TUNGETFEATURES) { |
1389 | /* Currently this just means: "what IFF flags are valid?". | 1389 | /* Currently this just means: "what IFF flags are valid?". |
1390 | * This is needed because we never checked for invalid flags on | 1390 | * This is needed because we never checked for invalid flags on |