Re: [PATCH net-next] SUNRPC: drop pointless static qualifier in xdr_get_next_encode_buffer()

2018-11-08 Thread bfie...@fieldses.org
On Thu, Nov 08, 2018 at 03:13:25AM +, Trond Myklebust wrote: > On Thu, 2018-11-08 at 02:04 +, YueHaibing wrote: > > There is no need to have the '__be32 *p' variable static since new > > value > > always be assigned before use it. Applying for 4.20 and stable, thanks! > > > >

Re: [PATCH net-next] SUNRPC: drop pointless static qualifier in xdr_get_next_encode_buffer()

2018-11-07 Thread Trond Myklebust
On Thu, 2018-11-08 at 02:04 +, YueHaibing wrote: > There is no need to have the '__be32 *p' variable static since new > value > always be assigned before use it. > > Signed-off-by: YueHaibing > --- > net/sunrpc/xdr.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

[PATCH net-next] SUNRPC: drop pointless static qualifier in xdr_get_next_encode_buffer()

2018-11-07 Thread YueHaibing
There is no need to have the '__be32 *p' variable static since new value always be assigned before use it. Signed-off-by: YueHaibing --- net/sunrpc/xdr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/sunrpc/xdr.c b/net/sunrpc/xdr.c index 2bbb8d3..d80b156 100644 ---