]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
staging: sm750fb: Add spaces around '+'
authorLaís Pessine do Carmo <laispc19@gmail.com>
Wed, 7 Nov 2018 00:28:04 +0000 (22:28 -0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Nov 2018 11:35:10 +0000 (12:35 +0100)
Add spaces around '+' to correct the following checkpath.pl warnings:

WARNING: line over 80 characters
+                       write_dpPort(accel, *(unsigned int *)(pSrcbuf + (j * 4)));

WARNING: line over 80 characters
+                       memcpy(ajRemain, pSrcbuf+ul4BytesPerScan, ulBytesRemain);

Signed-off-by: Laís Pessine do Carmo <laispc19@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/sm750_accel.c

index 1035e91e7cd359e7ca9a0d8ce0663ea475a530f5..eed840b251daed5227c2d0a2e0d3308c4a8edeb5 100644 (file)
@@ -383,7 +383,8 @@ int sm750_hw_imageblit(struct lynx_accel *accel,
                        write_dpPort(accel, *(unsigned int *)(pSrcbuf + (j * 4)));
 
                if (ulBytesRemain) {
-                       memcpy(ajRemain, pSrcbuf+ul4BytesPerScan, ulBytesRemain);
+                       memcpy(ajRemain, pSrcbuf + ul4BytesPerScan,
+                              ulBytesRemain);
                        write_dpPort(accel, *(unsigned int *)ajRemain);
                }