projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a117dac
)
tun: Fix formatting.
author
David S. Miller
<davem@davemloft.net>
Mon, 30 Jul 2012 21:52:48 +0000
(14:52 -0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 30 Jul 2012 21:52:48 +0000
(14:52 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/tun.c
b/drivers/net/tun.c
index f55c46222613f01f44b14f3455c38d832b2fc6fe..926d4db5cb384f2de6df5ae871d0ec6171c6fe7d 100644
(file)
--- 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,
if (cmd == TUNSETIFF || _IOC_TYPE(cmd) == 0x89) {
if (copy_from_user(&ifr, argp, ifreq_len))
return -EFAULT;
- } else
+ } else
{
memset(&ifr, 0, sizeof(ifr));
-
+ }
if (cmd == TUNGETFEATURES) {
/* Currently this just means: "what IFF flags are valid?".
* This is needed because we never checked for invalid flags on