OSDN Git Service

tun: fix misleading comment format
authorMichal Kubecek <mkubecek@suse.cz>
Wed, 4 Mar 2020 16:23:59 +0000 (17:23 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 6 Mar 2020 05:38:02 +0000 (21:38 -0800)
The comment above tun_flow_save_rps_rxhash() starts with "/**" which
makes it look like kerneldoc comment and results in warnings when
building with W=1. Fix the format to make it look like a normal comment.

Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c

index 79f248c..ea64c31 100644 (file)
@@ -546,8 +546,7 @@ static void tun_flow_update(struct tun_struct *tun, u32 rxhash,
        rcu_read_unlock();
 }
 
-/**
- * Save the hash received in the stack receive path and update the
+/* Save the hash received in the stack receive path and update the
  * flow_hash table accordingly.
  */
 static inline void tun_flow_save_rps_rxhash(struct tun_flow_entry *e, u32 hash)