2013-08-04 18:41:19

by Kumar Gaurav

[permalink] [raw]
Subject: [PATCH] Staging:xgifb:Fixed a warning of Space before semicolon

Fixed issue by removing Space before semicolon

Signed-off-by: Kumar Gaurav <[email protected]>
---
drivers/staging/xgifb/vb_setmode.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/xgifb/vb_setmode.h b/drivers/staging/xgifb/vb_setmode.h
index 2c0a31c..679a822 100644
--- a/drivers/staging/xgifb/vb_setmode.h
+++ b/drivers/staging/xgifb/vb_setmode.h
@@ -13,7 +13,7 @@ extern void XGI_GetVBType(struct vb_device_info *);
extern void XGI_SenseCRT1(struct vb_device_info *);
extern unsigned char XGISetModeNew(struct xgifb_video_info *xgifb_info,
struct xgi_hw_device_info *HwDeviceExtension,
- unsigned short ModeNo) ;
+ unsigned short ModeNo);

extern unsigned char XGI_SearchModeID(unsigned short ModeNo,
unsigned short *ModeIdIndex,
--
1.7.9.5


2013-08-04 18:56:52

by Aaro Koskinen

[permalink] [raw]
Subject: Re: [PATCH] Staging:xgifb:Fixed a warning of Space before semicolon

On Mon, Aug 05, 2013 at 12:11:02AM +0530, Kumar Gaurav wrote:
> Fixed issue by removing Space before semicolon
>
> Signed-off-by: Kumar Gaurav <[email protected]>
> ---
> drivers/staging/xgifb/vb_setmode.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/xgifb/vb_setmode.h b/drivers/staging/xgifb/vb_setmode.h
> index 2c0a31c..679a822 100644
> --- a/drivers/staging/xgifb/vb_setmode.h
> +++ b/drivers/staging/xgifb/vb_setmode.h
> @@ -13,7 +13,7 @@ extern void XGI_GetVBType(struct vb_device_info *);
> extern void XGI_SenseCRT1(struct vb_device_info *);
> extern unsigned char XGISetModeNew(struct xgifb_video_info *xgifb_info,
> struct xgi_hw_device_info *HwDeviceExtension,
> - unsigned short ModeNo) ;
> + unsigned short ModeNo);

There's a similar issue in vb_table.h, line 1287. Maybe fix that also
at the same time?

Thanks,

A.