From: Mauro Carvalho Chehab <mchehab@s-opensource.com>
To: Sean Young <sean@mess.org>
Cc: linux-media@vger.kernel.org
Subject: Re: [PATCH] [media] sir_ir: annotate hardware config module parameters
Date: Wed, 7 Jun 2017 09:38:57 -0300 [thread overview]
Message-ID: <20170607093857.6a3a5249@vento.lan> (raw)
In-Reply-To: <1496762299-29650-1-git-send-email-sean@mess.org>
Em Tue, 6 Jun 2017 16:18:19 +0100
Sean Young <sean@mess.org> escreveu:
> This module was merged after commit 5a8fc6a3cebb ("Annotate hardware
> config module parameters in drivers/media/"), so add add the missing
> hardware annotations.
This patch seems wrong:
drivers/media/rc/sir_ir.c:403:1: error: macro "module_param_hw" requires 4 arguments, but only 3 given
drivers/media/rc/sir_ir.c:406:1: error: macro "module_param_hw" requires 4 arguments, but only 3 given
drivers/media/tuners/r820t.c:2341 r820t_attach() error: potential null dereference 'priv'. (kzalloc returns null)
drivers/media/rc/sir_ir.c:403:30: error: macro "module_param_hw" requires 4 arguments, but only 3 given
module_param_hw(io, int, 0444);
^
drivers/media/rc/sir_ir.c:403:1: warning: data definition has no type or storage class
module_param_hw(io, int, 0444);
^~~~~~~~~~~~~~~
drivers/media/rc/sir_ir.c:403:1: error: type defaults to 'int' in declaration of 'module_param_hw' [-Werror=implicit-int]
drivers/media/rc/sir_ir.c:406:31: error: macro "module_param_hw" requires 4 arguments, but only 3 given
module_param_hw(irq, int, 0444);
^
drivers/media/rc/sir_ir.c:406:1: warning: data definition has no type or storage class
module_param_hw(irq, int, 0444);
^~~~~~~~~~~~~~~
drivers/media/rc/sir_ir.c:406:1: error: type defaults to 'int' in declaration of 'module_param_hw' [-Werror=implicit-int]
Please check.
Regards,
Mauro
Thanks,
Mauro
next prev parent reply other threads:[~2017-06-07 12:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-06 15:18 [PATCH] [media] sir_ir: annotate hardware config module parameters Sean Young
2017-06-07 12:38 ` Mauro Carvalho Chehab [this message]
2017-06-07 18:05 ` Sean Young
2017-06-07 22:10 ` kbuild test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170607093857.6a3a5249@vento.lan \
--to=mchehab@s-opensource.com \
--cc=linux-media@vger.kernel.org \
--cc=sean@mess.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox