Re: [PATCH v5 2/2] kni: fix warning about discarding const qualifier

2022-06-08 Thread Ferruh Yigit
On 6/8/2022 1:54 PM, Ferruh Yigit wrote: On 6/8/2022 1:11 PM, Andrew Rybchenko wrote: From: Ke Zhang The warning info: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type Variable dev_addr is done const intentionally in v5.17 to prevent using it direc

Re: [PATCH v5 2/2] kni: fix warning about discarding const qualifier

2022-06-08 Thread Ferruh Yigit
On 6/8/2022 1:11 PM, Andrew Rybchenko wrote: From: Ke Zhang The warning info: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type Variable dev_addr is done const intentionally in v5.17 to prevent using it directly. See kernel series [1] for more inform

[PATCH v5 2/2] kni: fix warning about discarding const qualifier

2022-06-08 Thread Andrew Rybchenko
From: Ke Zhang The warning info: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type Variable dev_addr is done const intentionally in v5.17 to prevent using it directly. See kernel series [1] for more information. [1] https://lore.kernel.org/netdev/YZYAb4