Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753265AbbHNGGS (ORCPT ); Fri, 14 Aug 2015 02:06:18 -0400 Received: from mail-db3on0108.outbound.protection.outlook.com ([157.55.234.108]:48381 "EHLO emea01-db3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751172AbbHNGGR convert rfc822-to-8bit (ORCPT ); Fri, 14 Aug 2015 02:06:17 -0400 From: "Shah, Yash (Y.)" To: "sudipm.mukherjee@gmail.com" , "teddy.wang@siliconmotion.com" , "gregkh@linuxfoundation.org" CC: "linux-fbdev@vger.kernel.org" , "devel@driverdev.osuosl.org" , "linux-kernel@vger.kernel.org" , "Babu, Viswanathan (V.)" Subject: [PATCH] Staging: sm750fb: Fix "foo* bar" should be "foo *bar" errors Thread-Topic: [PATCH] Staging: sm750fb: Fix "foo* bar" should be "foo *bar" errors Thread-Index: AQHQ1ldSVU+mMwAB4kGHBhQ8du2sIA== Date: Fri, 14 Aug 2015 06:06:13 +0000 Message-ID: <20150814060512.GA671@ubuntu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=yshah1@visteon.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [74.112.164.116] x-microsoft-exchange-diagnostics: 1;DBXPR06MB463;5:ddfls1npNS3R+f51JpawZlIDL9jtIwwEersi0niimlkXPIngaSf2m4MsYqAZgMBHA3Wq2LFRKfBVOHPO4JyCYsu392xj/JpRMP29GcjZx9eEw3Xbj+5lI8r98d7YfquO3IBzlliGI11c8I+x8Z/L5A==;24:joK6pNDk1lg0626zQY6mTuNdONJ86F9r5dhSHPFC8iAjlgq61WhgrQfNv18so+m8oFnfAU2YD6ivZNAaCKu19updX02vcHd8XA3BEe6KV/0=;20:/JN9+GIdfB3uAgqGcotf5MPCwUpwBfbDY/kzL9t2qO43N7OeZN6Fo6pUtWn5ItutmFupS/uALx2iT8W/aeTP2w== x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DBXPR06MB463; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(5005006)(3002001);SRVR:DBXPR06MB463;BCL:0;PCL:0;RULEID:;SRVR:DBXPR06MB463; x-forefront-prvs: 066898046A x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(189002)(199003)(92566002)(19580405001)(19580395003)(46102003)(33716001)(5001860100001)(2656002)(106116001)(106356001)(105586002)(5001830100001)(81156007)(5001920100001)(97736004)(4001540100001)(5001770100001)(87936001)(64706001)(33656002)(189998001)(10400500002)(68736005)(2501003)(122556002)(2860100001)(66066001)(86362001)(575784001)(102836002)(107886002)(62966003)(77096005)(2900100001)(40100003)(101416001)(5002640100001)(5001960100002)(77156002)(2201001)(54356999)(229853001)(50986999)(4001430100001);DIR:OUT;SFP:1102;SCL:1;SRVR:DBXPR06MB463;H:DBXPR06MB494.eurprd06.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:; Content-Type: text/plain; charset="us-ascii" Content-ID: <9BA0AE7454C54346B4F87535C31C3290@eurprd06.prod.outlook.com> Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-OriginatorOrg: visteon.com X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Aug 2015 06:06:13.3554 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 7a147aaf-01ec-498c-80a1-e34a8c63c548 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBXPR06MB463 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 5022 Lines: 134 From: Yash Shah Fix "foo* bar" should be "foo *bar" errors as detected by checkpatch.pl Signed-off-by: Yash Shah --- drivers/staging/sm750fb/sm750.h | 14 +++++++------- drivers/staging/sm750fb/sm750_cursor.c | 4 ++-- drivers/staging/sm750fb/sm750_cursor.h | 4 ++-- drivers/staging/sm750fb/sm750_hw.h | 6 +++--- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/staging/sm750fb/sm750.h b/drivers/staging/sm750fb/sm750.h index 9b101a9..5bc4455 100644 --- a/drivers/staging/sm750fb/sm750.h +++ b/drivers/staging/sm750fb/sm750.h @@ -16,9 +16,9 @@ extern int smi_indent; struct lynx_accel { /* base virtual address of DPR registers */ - volatile unsigned char __iomem * dprBase; + volatile unsigned char __iomem *dprBase; /* base virtual address of de data port */ - volatile unsigned char __iomem * dpPortBase; + volatile unsigned char __iomem *dpPortBase; /* function fointers */ void (*de_init)(struct lynx_accel *); @@ -64,8 +64,8 @@ struct lynx_share { /* locks*/ spinlock_t slock; /* function pointers */ - void (*suspend)(struct lynx_share*); - void (*resume)(struct lynx_share*); + void (*suspend)(struct lynx_share *); + void (*resume)(struct lynx_share *); }; struct lynx_cursor { @@ -80,7 +80,7 @@ struct lynx_cursor { char __iomem *vstart; int offset; /* mmio addr of hw cursor */ - volatile char __iomem * mmio; + volatile char __iomem *mmio; /* the lynx_share of this adaptor */ struct lynx_share *share; /* proc_routines */ @@ -114,7 +114,7 @@ struct lynxfb_crtc { int (*proc_checkMode)(struct lynxfb_crtc*, struct fb_var_screeninfo*); int (*proc_setColReg)(struct lynxfb_crtc*, ushort, ushort, ushort, ushort); - void (*clear)(struct lynxfb_crtc*); + void (*clear)(struct lynxfb_crtc *); /* pan display */ int (*proc_panDisplay)(struct lynxfb_crtc *, const struct fb_var_screeninfo *, @@ -146,7 +146,7 @@ struct lynxfb_output { int (*proc_checkMode)(struct lynxfb_output*, struct fb_var_screeninfo*); int (*proc_setBLANK)(struct lynxfb_output*, int); - void (*clear)(struct lynxfb_output*); + void (*clear)(struct lynxfb_output *); }; struct lynxfb_par { diff --git a/drivers/staging/sm750fb/sm750_cursor.c b/drivers/staging/sm750fb/sm750_cursor.c index 2400c6c..a94a4bb 100644 --- a/drivers/staging/sm750fb/sm750_cursor.c +++ b/drivers/staging/sm750fb/sm750_cursor.c @@ -95,7 +95,7 @@ void hw_cursor_setColor(struct lynx_cursor *cursor, } void hw_cursor_setData(struct lynx_cursor *cursor, - u16 rop, const u8* pcol, const u8* pmsk) + u16 rop, const u8 *pcol, const u8 *pmsk) { int i, j, count, pitch, offset; u8 color, mask, opr; @@ -184,7 +184,7 @@ void hw_cursor_setData(struct lynx_cursor *cursor, void hw_cursor_setData2(struct lynx_cursor *cursor, - u16 rop, const u8* pcol, const u8* pmsk) + u16 rop, const u8 *pcol, const u8 *pmsk) { int i, j, count, pitch, offset; u8 color, mask; diff --git a/drivers/staging/sm750fb/sm750_cursor.h b/drivers/staging/sm750fb/sm750_cursor.h index e1716a6..6c4fc9b 100644 --- a/drivers/staging/sm750fb/sm750_cursor.h +++ b/drivers/staging/sm750fb/sm750_cursor.h @@ -11,7 +11,7 @@ void hw_cursor_setPos(struct lynx_cursor *cursor, void hw_cursor_setColor(struct lynx_cursor *cursor, u32 fg, u32 bg); void hw_cursor_setData(struct lynx_cursor *cursor, - u16 rop, const u8* data, const u8* mask); + u16 rop, const u8 *data, const u8 *mask); void hw_cursor_setData2(struct lynx_cursor *cursor, - u16 rop, const u8* data, const u8* mask); + u16 rop, const u8 *data, const u8 *mask); #endif diff --git a/drivers/staging/sm750fb/sm750_hw.h b/drivers/staging/sm750fb/sm750_hw.h index ef0a16f..3781a1a 100644 --- a/drivers/staging/sm750fb/sm750_hw.h +++ b/drivers/staging/sm750fb/sm750_hw.h @@ -78,7 +78,7 @@ struct sm750_share { */ }; -int hw_sm750_map(struct lynx_share* share, struct pci_dev* pdev); +int hw_sm750_map(struct lynx_share *share, struct pci_dev *pdev); int hw_sm750_inithw(struct lynx_share*, struct pci_dev *); void hw_sm750_initAccel(struct lynx_share *); int hw_sm750_deWait(void); @@ -92,8 +92,8 @@ int hw_sm750_crtc_setMode(struct lynxfb_crtc*, struct fb_var_screeninfo*, struct int hw_sm750_setColReg(struct lynxfb_crtc*, ushort, ushort, ushort, ushort); int hw_sm750_setBLANK(struct lynxfb_output*, int); int hw_sm750le_setBLANK(struct lynxfb_output*, int); -void hw_sm750_crtc_clear(struct lynxfb_crtc*); -void hw_sm750_output_clear(struct lynxfb_output*); +void hw_sm750_crtc_clear(struct lynxfb_crtc *); +void hw_sm750_output_clear(struct lynxfb_output *); int hw_sm750_pan_display(struct lynxfb_crtc *crtc, const struct fb_var_screeninfo *var, const struct fb_info *info); -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/