Re: [PATCH net] octeontx2-af: Fix an off by one in rvu_dbg_qsize_write()

2021-02-21 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net.git (refs/heads/master): On Fri, 19 Feb 2021 12:56:32 +0300 you wrote: > This code does not allocate enough memory for the NUL terminator so it > ends up putting it one character beyond the end of the buffer. > > Fixes: 8756828a8148 ("octeontx2-af: Add

Re: [PATCH net] octeontx2-af: Fix an off by one in rvu_dbg_qsize_write()

2021-02-19 Thread Sunil Kovvuri
On Fri, Feb 19, 2021 at 3:31 PM Dan Carpenter wrote: > > This code does not allocate enough memory for the NUL terminator so it > ends up putting it one character beyond the end of the buffer. > > Fixes: 8756828a8148 ("octeontx2-af: Add NPA aura and pool contexts to > debugfs") > Signed-off-by: D

Re: [PATCH net] octeontx2-af: Fix an off by one in rvu_dbg_qsize_write()

2021-02-19 Thread Jakub Kicinski
On Fri, 19 Feb 2021 12:56:32 +0300 Dan Carpenter wrote: > This code does not allocate enough memory for the NUL terminator so it > ends up putting it one character beyond the end of the buffer. > > Fixes: 8756828a8148 ("octeontx2-af: Add NPA aura and pool contexts to > debugfs") > Signed-off-by:

[PATCH net] octeontx2-af: Fix an off by one in rvu_dbg_qsize_write()

2021-02-19 Thread Dan Carpenter
This code does not allocate enough memory for the NUL terminator so it ends up putting it one character beyond the end of the buffer. Fixes: 8756828a8148 ("octeontx2-af: Add NPA aura and pool contexts to debugfs") Signed-off-by: Dan Carpenter --- drivers/net/ethernet/marvell/octeontx2/af/rvu_deb