Remove useless casting value returned by k[cmz]alloc
to (struct lpfc_sli_ring *).
Found using coccinelle
Signed-off-by: Matei Oprea
Cc: ROSEdu Kernel Community
---
drivers/scsi/lpfc/lpfc_init.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/scsi/lpfc
It's easier to use kcalloc for allocating arrays. While at it
also remove useless casting value.
Signed-off-by: Matei Oprea
Cc: ROSEdu Kernel Community
---
drivers/scsi/lpfc/lpfc_init.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_ini
oremap' was not declared. Should it be static?
* drivers/staging/cxt1e1/hwprobe.c:195:1:
warning: symbol 'cleanup_devs' was not declared. Should it be static?
drivers/staging/cxt1e1/hwprobe.c:293:1:
* warning: symbol 'c4hw_attach_all' was not declared. Should it be static?
Any comments on this ?
ᐧ
On Tue, Mar 18, 2014 at 10:51 PM, Matei Oprea wrote:
> It's easier to use kcalloc for allocating arrays. While at it
> also remove useless casting value.
>
> Signed-off-by: Matei Oprea
> Cc: ROSEdu Kernel Community
> ---
> drivers/sc
Any comments on this ?
ᐧ
On Sun, Mar 23, 2014 at 2:13 PM, Matei Oprea wrote:
> This patch fixes "incorrect type in argument 1" warning from sparse.
>
> Signed-off-by: Matei Oprea
> Cc: ROSEdu Kernel Community
> ---
> drivers/staging/cxt1e1/hwprobe.c |
Sorry,
I thought that it's out.
ᐧ
On Mon, Apr 7, 2014 at 5:14 PM, Greg KH wrote:
> On Mon, Apr 07, 2014 at 03:38:27PM +0300, Matei Oprea wrote:
>> Any comments on this ?
>
> You got an email from me about this, on the 23rd, saying that I can't do
> anything w
Fix a coding style issue.
Signed-off-by: Matei Oprea
Cc: ROSEdu Kernel Commmunity
---
drivers/staging/comedi/drivers/ni_daq_dio24.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/comedi/drivers/ni_daq_dio24.c
b/drivers/staging/comedi/drivers
It's easier to use kcalloc for allocating arrays. While at it
also remove useless casting value.
Signed-off-by: Matei Oprea
Cc: ROSEdu Kernel Community
---
drivers/scsi/lpfc/lpfc_init.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_i
It's easier to use kcalloc for allocating arrays. While at it
also remove useless casting value.
Signed-off-by: Matei Oprea
Cc: ROSEdu Kernel Community
---
drivers/scsi/lpfc/lpfc_init.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_ini
Ok. Sorry.
ᐧ
On Tue, Apr 8, 2014 at 11:20 PM, Joe Perches wrote:
> On Tue, 2014-04-08 at 23:18 +0300, Matei Oprea wrote:
>> It's easier to use kcalloc for allocating arrays. While at it
>> also remove useless casting value.
>
> Don't send a patch against your bad
It's easier to use kcalloc for allocating arrays. While at it
also remove useless casting value.
Signed-off-by: Matei Oprea
Cc: ROSEdu Kernel Community
---
drivers/scsi/lpfc/lpfc_init.c | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/drivers/scsi
It's easier to use kcalloc for allocating arrays. While at it
also remove useless casting value.
Signed-off-by: Matei Oprea
Cc: ROSEdu Kernel Community
---
drivers/scsi/lpfc/lpfc_init.c | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/drivers/scsi
I did it against your master branch of staging.git. I guess that's why
doesn't apply at all. I switched branches to staging-next after your
e-mail.
Thanks and sorry !
On Wed, Mar 19, 2014 at 1:14 AM, Greg KH wrote:
> On Wed, Mar 19, 2014 at 12:33:19AM +0200, Matei Oprea wrote:
>
Fix different address spaces when unmapping IO. hi->addr_mapped[0]
and hi->addr_mapped[1] should be tagged __iomem.
Signed-off-by: Matei Oprea
Cc: ROSEdu Kernel Community
---
drivers/staging/cxt1e1/hwprobe.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/d
Fix sparse "should be static" warnings. Those structures are
only referenced in file scope so they can be marked as static.
Signed-off-by: Matei Oprea
Cc: ROSEdu Kernel Community
---
drivers/staging/rtl8192u/r8192U_wx.c |6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
This patch fixes "incorrect type in argument 1" warning from sparse.
Signed-off-by: Matei Oprea
Cc: ROSEdu Kernel Community
---
drivers/staging/cxt1e1/hwprobe.c |6 +++---
drivers/staging/cxt1e1/pmcc4_private.h |2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
di
Signed-off-by: Matei Oprea
Cc: ROSEdu Kernel Community
---
init/main.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/init/main.c b/init/main.c
index e8ae1fe..25cc270 100644
--- a/init/main.c
+++ b/init/main.c
@@ -160,7 +160,8 @@ static int __init set_reset_devices
17 matches
Mail list logo