From: Eric Anholt <eric@anholt.net> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Stephen Warren <swarren@wwwdotorg.org>, Lee Jones <lee@kernel.org>, bcm-kernel-feedback-list@broadcom.com, Dom Cobley <popcornmix@gmail.com>, Eric Anholt <eric@anholt.net> Subject: [PATCH 1/5] staging/vchi: Fix build error in debugfs ops on aarch64. Date: Mon, 17 Oct 2016 12:44:02 -0700 [thread overview] Message-ID: <20161017194406.1080-2-eric@anholt.net> (raw) In-Reply-To: <20161017194406.1080-1-eric@anholt.net> file_operations.write returns a ssize_t, which worked out fine on 32 bit but errors out on 64 bit. Signed-off-by: Eric Anholt <eric@anholt.net> --- drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c index 7e032130d967..f07cd4448ddf 100644 --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c @@ -120,7 +120,7 @@ static int debugfs_log_open(struct inode *inode, struct file *file) return single_open(file, debugfs_log_show, inode->i_private); } -static int debugfs_log_write(struct file *file, +static ssize_t debugfs_log_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) { @@ -229,7 +229,7 @@ static int debugfs_trace_open(struct inode *inode, struct file *file) return single_open(file, debugfs_trace_show, inode->i_private); } -static int debugfs_trace_write(struct file *file, +static ssize_t debugfs_trace_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) { -- 2.9.3
WARNING: multiple messages have this Message-ID (diff)
From: eric@anholt.net (Eric Anholt) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/5] staging/vchi: Fix build error in debugfs ops on aarch64. Date: Mon, 17 Oct 2016 12:44:02 -0700 [thread overview] Message-ID: <20161017194406.1080-2-eric@anholt.net> (raw) In-Reply-To: <20161017194406.1080-1-eric@anholt.net> file_operations.write returns a ssize_t, which worked out fine on 32 bit but errors out on 64 bit. Signed-off-by: Eric Anholt <eric@anholt.net> --- drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c index 7e032130d967..f07cd4448ddf 100644 --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_debugfs.c @@ -120,7 +120,7 @@ static int debugfs_log_open(struct inode *inode, struct file *file) return single_open(file, debugfs_log_show, inode->i_private); } -static int debugfs_log_write(struct file *file, +static ssize_t debugfs_log_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) { @@ -229,7 +229,7 @@ static int debugfs_trace_open(struct inode *inode, struct file *file) return single_open(file, debugfs_trace_show, inode->i_private); } -static int debugfs_trace_write(struct file *file, +static ssize_t debugfs_trace_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) { -- 2.9.3
next prev parent reply other threads:[~2016-10-17 19:44 UTC|newest] Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-10-17 19:44 [PATCH 0/5] staging/vchi: Start on 64-bit cleanup, TODO file Eric Anholt 2016-10-17 19:44 ` Eric Anholt 2016-10-17 19:44 ` Eric Anholt [this message] 2016-10-17 19:44 ` [PATCH 1/5] staging/vchi: Fix build error in debugfs ops on aarch64 Eric Anholt 2016-10-17 20:28 ` Greg Kroah-Hartman 2016-10-17 20:28 ` Greg Kroah-Hartman 2016-10-17 19:44 ` [PATCH 2/5] staging/vchi: Fix build warnings when formatting pointers " Eric Anholt 2016-10-17 19:44 ` Eric Anholt 2016-10-17 20:28 ` Greg Kroah-Hartman 2016-10-17 20:28 ` Greg Kroah-Hartman 2016-10-17 23:38 ` Eric Anholt 2016-10-17 23:38 ` Eric Anholt 2016-10-18 6:41 ` Greg Kroah-Hartman 2016-10-18 6:41 ` Greg Kroah-Hartman 2016-10-17 19:44 ` [PATCH 3/5] staging/vchi: Fix some pointer math for 64-bit Eric Anholt 2016-10-17 19:44 ` Eric Anholt 2016-10-25 7:55 ` Greg Kroah-Hartman 2016-10-25 7:55 ` Greg Kroah-Hartman 2016-10-25 15:44 ` Eric Anholt 2016-10-25 15:44 ` Eric Anholt 2016-10-17 19:44 ` [PATCH 4/5] staging/vchi: Add a TODO file of things I know we need to deal with Eric Anholt 2016-10-17 19:44 ` Eric Anholt 2016-10-18 14:54 ` popcorn mix 2016-10-18 14:54 ` popcorn mix 2016-10-17 19:44 ` [PATCH 5/5] MAINTAINERS: Add the staging vchiq driver as a bcm2835 responsibility Eric Anholt 2016-10-17 19:44 ` Eric Anholt
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=20161017194406.1080-2-eric@anholt.net \ --to=eric@anholt.net \ --cc=bcm-kernel-feedback-list@broadcom.com \ --cc=gregkh@linuxfoundation.org \ --cc=lee@kernel.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-rpi-kernel@lists.infradead.org \ --cc=popcornmix@gmail.com \ --cc=swarren@wwwdotorg.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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.