From: patchwork-bot+netdevbpf@kernel.org
To: Arnd Bergmann <arnd@kernel.org>
Cc: isdn@linux-pingi.de, arnd@arndb.de, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] isdn: capi: fix mismatched prototypes
Date: Tue, 23 Mar 2021 00:30:09 +0000 [thread overview]
Message-ID: <161645940962.31154.6242142892110069086.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20210322164447.876440-1-arnd@kernel.org>
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Mon, 22 Mar 2021 17:44:29 +0100 you wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> gcc-11 complains about a prototype declaration that is different
> from the function definition:
>
> drivers/isdn/capi/kcapi.c:724:44: error: argument 2 of type ‘u8 *’ {aka ‘unsigned char *’} declared as a pointer [-Werror=array-parameter=]
> 724 | u16 capi20_get_manufacturer(u32 contr, u8 *buf)
> | ~~~~^~~
> In file included from drivers/isdn/capi/kcapi.c:13:
> drivers/isdn/capi/kcapi.h:62:43: note: previously declared as an array ‘u8[64]’ {aka ‘unsigned char[64]’}
> 62 | u16 capi20_get_manufacturer(u32 contr, u8 buf[CAPI_MANUFACTURER_LEN]);
> | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
> drivers/isdn/capi/kcapi.c:790:38: error: argument 2 of type ‘u8 *’ {aka ‘unsigned char *’} declared as a pointer [-Werror=array-parameter=]
> 790 | u16 capi20_get_serial(u32 contr, u8 *serial)
> | ~~~~^~~~~~
> In file included from drivers/isdn/capi/kcapi.c:13:
> drivers/isdn/capi/kcapi.h:64:37: note: previously declared as an array ‘u8[8]’ {aka ‘unsigned char[8]’}
> 64 | u16 capi20_get_serial(u32 contr, u8 serial[CAPI_SERIAL_LEN]);
> | ~~~^~~~~~~~~~~~~~~~~~~~~~~
>
> [...]
Here is the summary with links:
- isdn: capi: fix mismatched prototypes
https://git.kernel.org/netdev/net/c/5ee7d4c7fbc9
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2021-03-23 0:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-22 16:44 [PATCH] isdn: capi: fix mismatched prototypes Arnd Bergmann
2021-03-23 0:30 ` patchwork-bot+netdevbpf [this message]
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=161645940962.31154.6242142892110069086.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=arnd@arndb.de \
--cc=arnd@kernel.org \
--cc=isdn@linux-pingi.de \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.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