Mailing List Archive

[PATCH] s390/hypfs: fix a typo in the name of a function
Everything is about hypfs_..., except 'hpyfs_vm_create_guest()'
s/hpy/hyp/

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
---
arch/s390/hypfs/hypfs_vm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/s390/hypfs/hypfs_vm.c b/arch/s390/hypfs/hypfs_vm.c
index 42f2375c203e..e1fcc03159ef 100644
--- a/arch/s390/hypfs/hypfs_vm.c
+++ b/arch/s390/hypfs/hypfs_vm.c
@@ -118,7 +118,7 @@ do { \
return PTR_ERR(rc); \
} while(0)

-static int hpyfs_vm_create_guest(struct dentry *systems_dir,
+static int hypfs_vm_create_guest(struct dentry *systems_dir,
struct diag2fc_data *data)
{
char guest_name[NAME_LEN + 1] = {};
@@ -219,7 +219,7 @@ int hypfs_vm_create_files(struct dentry *root)
}

for (i = 0; i < count; i++) {
- rc = hpyfs_vm_create_guest(dir, &(data[i]));
+ rc = hypfs_vm_create_guest(dir, &(data[i]));
if (rc)
goto failed;
}
--
2.20.1
Re: [PATCH] s390/hypfs: fix a typo in the name of a function [ In reply to ]
thanks, applied.

On 21.07.19 14:33, Christophe JAILLET wrote:
> Everything is about hypfs_..., except 'hpyfs_vm_create_guest()'
> s/hpy/hyp/
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
> ---
> arch/s390/hypfs/hypfs_vm.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/s390/hypfs/hypfs_vm.c b/arch/s390/hypfs/hypfs_vm.c
> index 42f2375c203e..e1fcc03159ef 100644
> --- a/arch/s390/hypfs/hypfs_vm.c
> +++ b/arch/s390/hypfs/hypfs_vm.c
> @@ -118,7 +118,7 @@ do { \
> return PTR_ERR(rc); \
> } while(0)
>
> -static int hpyfs_vm_create_guest(struct dentry *systems_dir,
> +static int hypfs_vm_create_guest(struct dentry *systems_dir,
> struct diag2fc_data *data)
> {
> char guest_name[NAME_LEN + 1] = {};
> @@ -219,7 +219,7 @@ int hypfs_vm_create_files(struct dentry *root)
> }
>
> for (i = 0; i < count; i++) {
> - rc = hpyfs_vm_create_guest(dir, &(data[i]));
> + rc = hypfs_vm_create_guest(dir, &(data[i]));
> if (rc)
> goto failed;
> }
>