RE: [PATCH v7 3/7] bnx2x: Replace doorbell barrier() with wmb()

2018-03-29 Thread Elior, Ariel
> Subject: [PATCH v7 3/7] bnx2x: Replace doorbell barrier() with wmb() > > barrier() doesn't guarantee memory writes to be observed by the hardware on > all architectures. barrier() only tells compiler not to move this code > with respect to other read/writes. > > If memory write needs to be obse

RE: [PATCH] qed: use kzalloc instead of kmalloc and memset

2017-11-15 Thread Elior, Ariel
> Subject: [PATCH] qed: use kzalloc instead of kmalloc and memset > > From: Colin Ian King > > Replace kmalloc followed by a memset with kzalloc > > Signed-off-by: Colin Ian King Acked-by: Ariel Elior Thanks Colin, Ariel