Re: [PATCH] scsi: libcxgbi: use kvzalloc instead of opencoded kzalloc/vzalloc

2020-08-01 Thread Denis Efremov
On 8/1/20 11:10 AM, Joe Perches wrote: > On Sat, 2020-08-01 at 10:51 +0300, Denis Efremov wrote: >> On 8/1/20 1:24 AM, Joe Perches wrote: >>> On Sat, 2020-08-01 at 01:10 +0300, Denis Efremov wrote: On 8/1/20 12:58 AM, Joe Perches wrote: > On Sat, 2020-08-01 at 00:55 +0300, Denis

Re: [PATCH] scsi: libcxgbi: use kvzalloc instead of opencoded kzalloc/vzalloc

2020-08-01 Thread Joe Perches
On Sat, 2020-08-01 at 10:51 +0300, Denis Efremov wrote: > On 8/1/20 1:24 AM, Joe Perches wrote: > > On Sat, 2020-08-01 at 01:10 +0300, Denis Efremov wrote: > > > On 8/1/20 12:58 AM, Joe Perches wrote: > > > > On Sat, 2020-08-01 at 00:55 +0300, Denis Efremov wrote: > > > > > Remove

Re: [PATCH] scsi: libcxgbi: use kvzalloc instead of opencoded kzalloc/vzalloc

2020-08-01 Thread Denis Efremov
On 8/1/20 10:51 AM, Denis Efremov wrote: > > > On 8/1/20 1:24 AM, Joe Perches wrote: >> On Sat, 2020-08-01 at 01:10 +0300, Denis Efremov wrote: >>> >>> On 8/1/20 12:58 AM, Joe Perches wrote: On Sat, 2020-08-01 at 00:55 +0300, Denis Efremov wrote: > Remove cxgbi_alloc_big_mem(),

Re: [PATCH] scsi: libcxgbi: use kvzalloc instead of opencoded kzalloc/vzalloc

2020-08-01 Thread Denis Efremov
On 8/1/20 1:24 AM, Joe Perches wrote: > On Sat, 2020-08-01 at 01:10 +0300, Denis Efremov wrote: >> >> On 8/1/20 12:58 AM, Joe Perches wrote: >>> On Sat, 2020-08-01 at 00:55 +0300, Denis Efremov wrote: Remove cxgbi_alloc_big_mem(), cxgbi_free_big_mem() functions and use kvzalloc/kvfree

Re: [PATCH] scsi: libcxgbi: use kvzalloc instead of opencoded kzalloc/vzalloc

2020-07-31 Thread Joe Perches
On Sat, 2020-08-01 at 01:10 +0300, Denis Efremov wrote: > > On 8/1/20 12:58 AM, Joe Perches wrote: > > On Sat, 2020-08-01 at 00:55 +0300, Denis Efremov wrote: > > > Remove cxgbi_alloc_big_mem(), cxgbi_free_big_mem() functions > > > and use kvzalloc/kvfree instead. > > > > Sensible, thanks. > >

Re: [PATCH] scsi: libcxgbi: use kvzalloc instead of opencoded kzalloc/vzalloc

2020-07-31 Thread Denis Efremov
On 8/1/20 12:58 AM, Joe Perches wrote: > On Sat, 2020-08-01 at 00:55 +0300, Denis Efremov wrote: >> Remove cxgbi_alloc_big_mem(), cxgbi_free_big_mem() functions >> and use kvzalloc/kvfree instead. > > Sensible, thanks. > >> diff --git a/drivers/scsi/cxgbi/libcxgbi.c

Re: [PATCH] scsi: libcxgbi: use kvzalloc instead of opencoded kzalloc/vzalloc

2020-07-31 Thread Joe Perches
On Sat, 2020-08-01 at 00:55 +0300, Denis Efremov wrote: > Remove cxgbi_alloc_big_mem(), cxgbi_free_big_mem() functions > and use kvzalloc/kvfree instead. Sensible, thanks. > diff --git a/drivers/scsi/cxgbi/libcxgbi.c b/drivers/scsi/cxgbi/libcxgbi.c [] > @@ -77,9 +77,9 @@ int

[PATCH] scsi: libcxgbi: use kvzalloc instead of opencoded kzalloc/vzalloc

2020-07-31 Thread Denis Efremov
Remove cxgbi_alloc_big_mem(), cxgbi_free_big_mem() functions and use kvzalloc/kvfree instead. Signed-off-by: Denis Efremov --- drivers/scsi/cxgbi/libcxgbi.c | 8 drivers/scsi/cxgbi/libcxgbi.h | 16 2 files changed, 4 insertions(+), 20 deletions(-) diff --git