[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131211075852.GS10323@ZenIV.linux.org.uk>
Date: Wed, 11 Dec 2013 07:58:52 +0000
From: Al Viro <viro@...IV.linux.org.uk>
To: Antonio Quartulli <antonio@...hcoding.com>
Cc: Joe Perches <joe@...ches.com>, Kees Cook <keescook@...omium.org>,
netdev@...r.kernel.org, b.a.t.m.a.n@...ts.open-mesh.org,
linux-kernel@...r.kernel.org,
"David S. Miller" <davem@...emloft.net>,
Marek Lindner <mareklindner@...mailbox.ch>
Subject: Re: [B.A.T.M.A.N.] [PATCH -next 2/3] batman-adv: Use seq_overflow
On Wed, Dec 11, 2013 at 08:31:35AM +0100, Antonio Quartulli wrote:
> Joe,
>
> we have other places in the batman-adv code where we use seq_printf, but
> at the moment we don't check the return value and we always return 0 at
> the end of the function.
>
> I think we could use seq_overflow here as well?
Not if you want correctly behaving code...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists