* [PATCH] netfilter: remove trailing semicolon in macro definition
@ 2020-11-27 19:20 trix
0 siblings, 0 replies; only message in thread
From: trix @ 2020-11-27 19:20 UTC (permalink / raw)
To: pablo, kadlec, fw, davem, kuba
Cc: netfilter-devel, coreteam, netdev, linux-kernel, Tom Rix
From: Tom Rix <trix@redhat.com>
The macro use will already have a semicolon.
Signed-off-by: Tom Rix <trix@redhat.com>
---
include/net/netfilter/nf_tables_offload.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/net/netfilter/nf_tables_offload.h b/include/net/netfilter/nf_tables_offload.h
index 1d34fe154fe0..ae8160b62b10 100644
--- a/include/net/netfilter/nf_tables_offload.h
+++ b/include/net/netfilter/nf_tables_offload.h
@@ -81,7 +81,7 @@ int nft_flow_rule_offload_commit(struct net *net);
#define NFT_OFFLOAD_MATCH_EXACT(__key, __base, __field, __len, __reg) \
NFT_OFFLOAD_MATCH(__key, __base, __field, __len, __reg) \
- memset(&(__reg)->mask, 0xff, (__reg)->len);
+ memset(&(__reg)->mask, 0xff, (__reg)->len)
int nft_chain_offload_priority(struct nft_base_chain *basechain);
--
2.18.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-11-28 1:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-27 19:20 [PATCH] netfilter: remove trailing semicolon in macro definition trix
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).