[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140720.222246.722922848026554870.davem@davemloft.net>
Date: Sun, 20 Jul 2014 22:22:46 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: karoly.kemeny@...il.com
Cc: jmorris@...ei.org, netdev@...r.kernel.org
Subject: Re: [PATCH] clean up sparse cast warning in do_ip_getsockopt
From: Karoly Kemeny <karoly.kemeny@...il.com>
Date: Sun, 20 Jul 2014 13:30:17 +0200
> There is a sparse warning because of the implicit pointer cast in
> do_ip_getsockopt.
>
> Signed-off-by: Karoly Kemeny <karoly.kemeny@...il.com>
Please format your subject line correctly, it should be of the form:
[PATCH] ${SUBSYSTEM}: Description.
Your's is missing the subsystem prefix, which in this case should
be "ipv4: "
> - msg.msg_control = optval;
> + msg.msg_control = (__force void*) optval;
Please put a space between "void" and "*" in the cast.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists