From: yuan linyu
Date: Sun, 29 Oct 2017 09:48:44 +0800
> From: yuan linyu
>
> Signed-off-by: yuan linyu
Please compile test your patches and watch for warnings:
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c: In function ‘dpaa_eth_probe’:
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:2671:2
dalin.bu...@nxp.com]
> > > Sent: Monday, October 30, 2017 1:56 PM
> > > To: Yuan, Linyu (NSB - CN/Shanghai); yuan linyu;
> netdev@vger.kernel.org;
> > > gre...@linuxfoundation.org
> > > Cc: David S . Miller
> > > Subject: RE: [PATCH net-next] net: dpaa: remove in
> > gre...@linuxfoundation.org
> > Cc: David S . Miller
> > Subject: RE: [PATCH net-next] net: dpaa: remove init which already done
> in
> > per-cpu allocation
> >
> > Also here:
> >
> >
> > http://elixir.free-electrons.com/l
vid S . Miller
> Subject: RE: [PATCH net-next] net: dpaa: remove init which already done in
> per-cpu allocation
>
> Also here:
>
> http://elixir.free-electrons.com/linux/latest/source/mm/percpu.c#L717
>
> Should the fact that the memory is zeroed be included in the function
ay, October 30, 2017 7:21 AM
> To: Madalin-cristian Bucur ; yuan linyu
> ; netdev@vger.kernel.org
> Cc: David S . Miller
> Subject: RE: [PATCH net-next] net: dpaa: remove init which already done in
> per-cpu allocation
>
> http://elixir.free-electrons.com/linux/latest/source/mm/
. Miller; Yuan, Linyu (NSB - CN/Shanghai)
> Subject: RE: [PATCH net-next] net: dpaa: remove init which already done in
> per-cpu allocation
>
> Hi Yuan,
>
> Can you please give more details about this change you are proposing?
>
> Regards,
> Madalin
>
>
gt; Cc: David S . Miller
> Subject: RE: [PATCH net-next] net: dpaa: remove init which already done in
> per-cpu allocation
>
> Is the memset part documented?
> Can you point to the specific comment & code that does it?
>
> Thanks
>
> > -Original Mess
linyu
> ; netdev@vger.kernel.org
> Cc: David S . Miller
> Subject: RE: [PATCH net-next] net: dpaa: remove init which already done in
> per-cpu allocation
>
> Hi,
>
> devm_alloc_percpu() will allocate per-cpu memory and memset allocated
> block content to 0.
>
&g
vger.kernel.org
> Cc: David S . Miller ; yuan linyu
>
> Subject: [PATCH net-next] net: dpaa: remove init which already done in
> per-cpu allocation
>
> From: yuan linyu
>
> Signed-off-by: yuan linyu
> ---
> drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 4 ---
From: yuan linyu
Signed-off-by: yuan linyu
---
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
b/drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
index a8d0be8..1ccc316 100644
--- a/drivers/net/e
10 matches
Mail list logo