netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* netfilter: xtables: add missing const qualifier to xt_tgchk_param
@ 2008-11-18 11:30 Jan Engelhardt
  2008-11-19 12:47 ` Patrick McHardy
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Engelhardt @ 2008-11-18 11:30 UTC (permalink / raw)
  To: kaber; +Cc: Netfilter Developer Mailing List


This should go in the currently-rolling -rc!

===

# linux-kernel
commit d64b245064738f4ad3cae9a1266ff6158ea6e728
Author: Jan Engelhardt <jengelh@medozas.de>
Date:   Tue Nov 18 12:28:33 2008 +0100

netfilter: xtables: add missing const qualifier to xt_tgchk_param

When entryinfo was a standalone parameter to functions, it used to be
"const void *". Put the const back in.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
---
 include/linux/netfilter/x_tables.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/netfilter/x_tables.h b/include/linux/netfilter/x_tables.h
index be41b60..e52ce47 100644
--- a/include/linux/netfilter/x_tables.h
+++ b/include/linux/netfilter/x_tables.h
@@ -251,7 +251,7 @@ struct xt_target_param {
  */
 struct xt_tgchk_param {
 	const char *table;
-	void *entryinfo;
+	const void *entryinfo;
 	const struct xt_target *target;
 	void *targinfo;
 	unsigned int hook_mask;


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: netfilter: xtables: add missing const qualifier to xt_tgchk_param
  2008-11-18 11:30 netfilter: xtables: add missing const qualifier to xt_tgchk_param Jan Engelhardt
@ 2008-11-19 12:47 ` Patrick McHardy
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick McHardy @ 2008-11-19 12:47 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: Netfilter Developer Mailing List

Jan Engelhardt wrote:
> netfilter: xtables: add missing const qualifier to xt_tgchk_param
> 
> When entryinfo was a standalone parameter to functions, it used to be
> "const void *". Put the const back in.

Applied, thanks.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-19 12:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-18 11:30 netfilter: xtables: add missing const qualifier to xt_tgchk_param Jan Engelhardt
2008-11-19 12:47 ` Patrick McHardy

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).