Skip to content

Commit

Permalink
keys: remove trailing semicolon in macro definition
Browse files Browse the repository at this point in the history
The macro use will already have a semicolon.

Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Jarkko Sakkinen <jarkko@kernel.org>
Reviewed-by: Ben Boeckel <mathstuf@gmail.com>
  • Loading branch information
Tom Rix authored and David Howells committed Jan 21, 2021
1 parent 3c0940c commit 464e96a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/linux/key.h
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ static inline struct key *request_key(struct key_type *type,
* completion of keys undergoing construction with a non-interruptible wait.
*/
#define request_key_net(type, description, net, callout_info) \
request_key_tag(type, description, net->key_domain, callout_info);
request_key_tag(type, description, net->key_domain, callout_info)

/**
* request_key_net_rcu - Request a key for a net namespace under RCU conditions
Expand All @@ -372,7 +372,7 @@ static inline struct key *request_key(struct key_type *type,
* network namespace are used.
*/
#define request_key_net_rcu(type, description, net) \
request_key_rcu(type, description, net->key_domain);
request_key_rcu(type, description, net->key_domain)
#endif /* CONFIG_NET */

extern int wait_for_key_construction(struct key *key, bool intr);
Expand Down

0 comments on commit 464e96a

Please sign in to comment.