diff mbox series

parisc: math-emu: fcnvxf: Add space after that ','

Message ID a2ae26be540da062ea4912c36962093b@208suo.com (mailing list archive)
State Rejected, archived
Headers show
Series parisc: math-emu: fcnvxf: Add space after that ',' | expand

Commit Message

hanyu001@208suo.com July 13, 2023, 9:37 a.m. UTC
Fix Error reported by checkpatch.pl

arch/parisc/math-emu/fcnvxf.c:99: ERROR: space required after that ',' 
(ctx:VxV
)

Signed-off-by: maqimei <2433033762@qq.com>
---
  arch/parisc/math-emu/fcnvxf.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Helge Deller July 20, 2023, 6:49 a.m. UTC | #1
Hello hanyu001,

On 7/13/23 11:37, hanyu001@208suo.com wrote:
>
> Fix Error reported by checkpatch.pl
>
> arch/parisc/math-emu/fcnvxf.c:99: ERROR: space required after that ',' (ctx:VxV
> )
>
> Signed-off-by: maqimei <2433033762@qq.com>

Thanks for that patch!

Your patch is correct and as such it should be applied.
But please notice the arch/parisc/math-emu/README file (in the same
directory), which states:
All files except driver.c are snapshots from the HP-UX kernel.  They've
been modified as little as possible.  Even though they don't fit the
Linux coding style, please leave them in their funny format just in case
someone in the future, with access to HP-UX source code, is generous
enough to update our copies with later changes from HP-UX -- it'll
make their 'diff' job easier if our code is relatively unmodified.

So, I won't apply any patch to that directory, unless it fixes a real bug
or is required to compile the kernel.

Thanks,
Helge

> ---
>   arch/parisc/math-emu/fcnvxf.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/parisc/math-emu/fcnvxf.c b/arch/parisc/math-emu/fcnvxf.c
> index 6940179..f5f9376 100644
> --- a/arch/parisc/math-emu/fcnvxf.c
> +++ b/arch/parisc/math-emu/fcnvxf.c
> @@ -96,7 +96,7 @@
>                       Sgl_increment(result);
>                   break;
>               case ROUNDNEAREST:
> -                Sgl_roundnearest_from_int(src,result);
> +                Sgl_roundnearest_from_int(src, result);
>           }
>           if (Is_inexacttrap_enabled()) {
>               *dstptr = result;
diff mbox series

Patch

diff --git a/arch/parisc/math-emu/fcnvxf.c 
b/arch/parisc/math-emu/fcnvxf.c
index 6940179..f5f9376 100644
--- a/arch/parisc/math-emu/fcnvxf.c
+++ b/arch/parisc/math-emu/fcnvxf.c
@@ -96,7 +96,7 @@ 
                      Sgl_increment(result);
                  break;
              case ROUNDNEAREST:
-                Sgl_roundnearest_from_int(src,result);
+                Sgl_roundnearest_from_int(src, result);
          }
          if (Is_inexacttrap_enabled()) {
              *dstptr = result;