* [PATCH] fs/ceph: don't return a value from void function
@ 2019-08-02 1:06 john.hubbard
2019-08-02 16:32 ` Jeff Layton
0 siblings, 1 reply; 2+ messages in thread
From: john.hubbard @ 2019-08-02 1:06 UTC (permalink / raw)
To: Jeff Layton
Cc: Sage Weil, Ilya Dryomov, ceph-devel, linux-kernel, John Hubbard
From: John Hubbard <jhubbard@nvidia.com>
This fixes a build warning to that effect.
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
---
Hi,
I ran into this while working on unrelated changes, to
convert ceph over to put_user_page().
This patch is against the latest linux.git.
thanks,
John Hubbard
NVIDIA
fs/ceph/debugfs.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/ceph/debugfs.c b/fs/ceph/debugfs.c
index 2eb88ed22993..facb387c2735 100644
--- a/fs/ceph/debugfs.c
+++ b/fs/ceph/debugfs.c
@@ -294,7 +294,6 @@ void ceph_fs_debugfs_init(struct ceph_fs_client *fsc)
void ceph_fs_debugfs_init(struct ceph_fs_client *fsc)
{
- return 0;
}
void ceph_fs_debugfs_cleanup(struct ceph_fs_client *fsc)
--
2.22.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] fs/ceph: don't return a value from void function
2019-08-02 1:06 [PATCH] fs/ceph: don't return a value from void function john.hubbard
@ 2019-08-02 16:32 ` Jeff Layton
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Layton @ 2019-08-02 16:32 UTC (permalink / raw)
To: john.hubbard
Cc: Sage Weil, Ilya Dryomov, ceph-devel, linux-kernel, John Hubbard
On Thu, 2019-08-01 at 18:06 -0700, john.hubbard@gmail.com wrote:
> From: John Hubbard <jhubbard@nvidia.com>
>
> This fixes a build warning to that effect.
>
> Signed-off-by: John Hubbard <jhubbard@nvidia.com>
> ---
>
> Hi,
>
> I ran into this while working on unrelated changes, to
> convert ceph over to put_user_page().
>
> This patch is against the latest linux.git.
>
> thanks,
> John Hubbard
> NVIDIA
>
>
> fs/ceph/debugfs.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/fs/ceph/debugfs.c b/fs/ceph/debugfs.c
> index 2eb88ed22993..facb387c2735 100644
> --- a/fs/ceph/debugfs.c
> +++ b/fs/ceph/debugfs.c
> @@ -294,7 +294,6 @@ void ceph_fs_debugfs_init(struct ceph_fs_client *fsc)
>
> void ceph_fs_debugfs_init(struct ceph_fs_client *fsc)
> {
> - return 0;
> }
>
> void ceph_fs_debugfs_cleanup(struct ceph_fs_client *fsc)
Thanks. Merged into ceph-client/testing branch, we'll see about getting
this to Linus before v5.3 ships.
--
Jeff Layton <jlayton@kernel.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-08-02 16:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-02 1:06 [PATCH] fs/ceph: don't return a value from void function john.hubbard
2019-08-02 16:32 ` Jeff Layton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).