Skip to contentSkip to conversation

vt: remove spaces after '*'

PATCH New [email protected] 1 participant 1 message Jul 20, 2023 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 vt: remove spaces after '*'

remove redundant spaces to clear checkpatch errors.

ERROR: "foo * bar" should be "foo *bar"

---
 include/linux/kbd_kern.h | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
include/linux/kbd_kern.h +10 -10
index c40811d79769..6cb4ab685a84 100644
@@ -69,52 +69,52 @@ extern void (*kbd_ledfunc)(unsigned int led);
 extern int set_console(int nr);
 extern void schedule_console_callback(void);
 
-static inline int vc_kbd_mode(struct kbd_struct * kbd, int flag)
+static inline int vc_kbd_mode(struct kbd_struct *kbd, int flag)
 {
 	return ((kbd->modeflags >> flag) & 1);
 }
 
-static inline int vc_kbd_led(struct kbd_struct * kbd, int flag)
+static inline int vc_kbd_led(struct kbd_struct *kbd, int flag)
 {
 	return ((kbd->ledflagstate >> flag) & 1);
 }
 
-static inline void set_vc_kbd_mode(struct kbd_struct * kbd, int flag)
+static inline void set_vc_kbd_mode(struct kbd_struct *kbd, int flag)
 {
 	kbd->modeflags |= 1 << flag;
 }
 
-static inline void set_vc_kbd_led(struct kbd_struct * kbd, int flag)
+static inline void set_vc_kbd_led(struct kbd_struct *kbd, int flag)
 {
 	kbd->ledflagstate |= 1 << flag;
 }
 
-static inline void clr_vc_kbd_mode(struct kbd_struct * kbd, int flag)
+static inline void clr_vc_kbd_mode(struct kbd_struct *kbd, int flag)
 {
 	kbd->modeflags &= ~(1 << flag);
 }
 
-static inline void clr_vc_kbd_led(struct kbd_struct * kbd, int flag)
+static inline void clr_vc_kbd_led(struct kbd_struct *kbd, int flag)
 {
 	kbd->ledflagstate &= ~(1 << flag);
 }
 
-static inline void chg_vc_kbd_lock(struct kbd_struct * kbd, int flag)
+static inline void chg_vc_kbd_lock(struct kbd_struct *kbd, int flag)
 {
 	kbd->lockstate ^= 1 << flag;
 }
 
-static inline void chg_vc_kbd_slock(struct kbd_struct * kbd, int flag)
+static inline void chg_vc_kbd_slock(struct kbd_struct *kbd, int flag)
 {
 	kbd->slockstate ^= 1 << flag;
 }
 
-static inline void chg_vc_kbd_mode(struct kbd_struct * kbd, int flag)
+static inline void chg_vc_kbd_mode(struct kbd_struct *kbd, int flag)
 {
 	kbd->modeflags ^= 1 << flag;
 }
 
-static inline void chg_vc_kbd_led(struct kbd_struct * kbd, int flag)
+static inline void chg_vc_kbd_led(struct kbd_struct *kbd, int flag)
 {
 	kbd->ledflagstate ^= 1 << flag;
 }