lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 20 Jul 2023 11:38:47 +0800
From:   sunran001@...suo.com
To:     geert@...ux-m68k.org
Cc:     linux-m68k@...ts.linux-m68k.org, linux-kernel@...r.kernel.org
Subject: [PATCH] m68k: q40: add missing spaces around '='

add missing spaces to clear checkpatch errors.

ERROR: spaces required around that '=' (ctx:VxV)

Signed-off-by: Ran Sun <sunran001@...suo.com>
---
  arch/m68k/q40/q40ints.c | 10 +++++-----
  1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/arch/m68k/q40/q40ints.c b/arch/m68k/q40/q40ints.c
index 127d7ecdbd49..fdd6e48f4fe3 100644
--- a/arch/m68k/q40/q40ints.c
+++ b/arch/m68k/q40/q40ints.c
@@ -132,10 +132,10 @@ static irqreturn_t q40_timer_int(int irq, void 
*dev_id)
  {
  	ql_ticks = ql_ticks ? 0 : 1;
  	if (sound_ticks) {
-		unsigned char sval=(sound_ticks & 1) ? 128-SVOL : 128+SVOL;
+		unsigned char sval = (sound_ticks & 1) ? 128-SVOL : 128+SVOL;
  		sound_ticks--;
-		*DAC_LEFT=sval;
-		*DAC_RIGHT=sval;
+		*DAC_LEFT = sval;
+		*DAC_RIGHT = sval;
  	}

  	if (!ql_ticks) {
@@ -171,7 +171,7 @@ void q40_sched_init (void)

  struct IRQ_TABLE{ unsigned mask; int irq ;};
  #if 0
-static struct IRQ_TABLE iirqs[]={
+static struct IRQ_TABLE iirqs[] = {
    {Q40_IRQ_FRAME_MASK,Q40_IRQ_FRAME},
    {Q40_IRQ_KEYB_MASK,Q40_IRQ_KEYBOARD},
    {0,0}};
@@ -189,7 +189,7 @@ static struct IRQ_TABLE eirqs[] = {
  };

  /* complain only this many times about spurious ints : */
-static int ccleirq=60;    /* ISA dev IRQs*/
+static int ccleirq = 60;    /* ISA dev IRQs*/
  /*static int cclirq=60;*/     /* internal */

  /* FIXME: add shared ints,mask,unmask,probing.... */

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ