[PATCH net-next] net: tipc: Replace expression with offsetof()

2020-12-29 Thread Zheng Yongjun
Use the existing offsetof() macro instead of duplicating code. Signed-off-by: Zheng Yongjun --- net/tipc/monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/tipc/monitor.c b/net/tipc/monitor.c index 6dce2abf436e..48fac3b17e40 100644 --- a/net/tipc/monitor.c +++ b/ne

Re: [PATCH net-next] net: tipc: Replace expression with offsetof()

2020-12-23 Thread Jakub Kicinski
On Tue, 22 Dec 2020 21:34:07 +0800 Zheng Yongjun wrote: > Use the existing offsetof() macro instead of duplicating code. > > Signed-off-by: Zheng Yongjun # Form letter - net-next is closed We have already sent the networking pull request for 5.11 and therefore net-next is closed for new drivers

[PATCH net-next] net: tipc: Replace expression with offsetof()

2020-12-22 Thread Zheng Yongjun
Use the existing offsetof() macro instead of duplicating code. Signed-off-by: Zheng Yongjun --- net/tipc/monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/tipc/monitor.c b/net/tipc/monitor.c index 6dce2abf436e..48fac3b17e40 100644 --- a/net/tipc/monitor.c +++ b/ne