mount.cifs - "Const" warnings patch

Jeff Layton jlayton at
Sun Nov 1 04:27:42 MST 2009

On Fri, 30 Oct 2009 10:28:26 +0000 (GMT)
Matthias Dieter Wallnöfer <mdw at> wrote:

> Dear mount.cifs maintainers,
> we at the s4 side get always a "const" warning when compiling the "mount.cifs" tool. With this patch I substituted the existing "CONST_DISCARD" macro with the newer and better "discard_const_p" one developed by s4. When applying this one to the particular code line the warning goes away.

There was no patch in this mail. Could you resend?

Jeff Layton <jlayton at>

More information about the samba-technical mailing list