From: capetry.dev@gmail.com
To: atull@kernel.org, mdf@kernel.org, linux-fpga@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: [PATCH 2/2] fpga: altera-cvp: Fix function definition argument
Date: Wed, 7 Nov 2018 23:13:12 -0200 [thread overview]
Message-ID: <20181108011312.29587-3-capetry.dev@gmail.com> (raw)
In-Reply-To: <20181108011312.29587-1-capetry.dev@gmail.com>
From: Carlos A Petry <capetry.dev@gmail.com>
Fix the following checkpatch warning:
WARNING: function definition argument 'struct altera_cvp_conf *'
Signed-off-by: Carlos A Petry <capetry.dev@gmail.com>
---
drivers/fpga/altera-cvp.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/fpga/altera-cvp.c b/drivers/fpga/altera-cvp.c
index 45b7c8c0b..150a9f5dd 100644
--- a/drivers/fpga/altera-cvp.c
+++ b/drivers/fpga/altera-cvp.c
@@ -66,7 +66,8 @@ struct altera_cvp_conf {
struct fpga_manager *mgr;
struct pci_dev *pci_dev;
void __iomem *map;
- void (*write_data)(struct altera_cvp_conf *, u32);
+ void (*write_data)(struct altera_cvp_conf *conf,
+ u32 data);
char mgr_name[64];
u8 numclks;
};
--
2.17.1
prev parent reply other threads:[~2018-11-09 22:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-08 1:13 [PATCH 0/2] fpga: altera-cvp: clean checkpatch faults capetry.dev
2018-11-08 1:13 ` [PATCH 1/2] fpga: altera-cvp: Insert SPDX-License-Identifier capetry.dev
2018-11-12 23:08 ` Anatolij Gustschin
2018-11-08 1:13 ` capetry.dev [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=20181108011312.29587-3-capetry.dev@gmail.com \
--to=capetry.dev@gmail.com \
--cc=atull@kernel.org \
--cc=linux-fpga@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mdf@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