Skip to content

Commit e9eff9d

Browse files
liordotgregkh
authored andcommitted
Staging: SLICOSS: lots of checkpatch fixes
Major cleanups of checkpatch warnings from the slicoss driver. From: Lior Dotan <liodot@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent df20d69 commit e9eff9d

13 files changed

Lines changed: 1353 additions & 1619 deletions

File tree

‎drivers/staging/slicoss/gbdownload.h‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
#define MOJAVE_UCODE_VERS_STRING "$Revision: 1.2 $"
2-
#define MOJAVE_UCODE_VERS_DATE "$Date: 2006/03/27 15:12:22 $"
1+
#define MOJAVE_UCODE_VERS_STRING "1.2"
2+
#define MOJAVE_UCODE_VERS_DATE "2006/03/27 15:12:22"
33
#define MOJAVE_UCODE_HOSTIF_ID 3
44

5-
static LONG MNumSections = 0x2;
6-
static ULONG MSectionSize[] =
5+
static s32 MNumSections = 0x2;
6+
static u32 MSectionSize[] =
77
{
88
0x00008000, 0x00010000,
99
};
1010

11-
static ULONG MSectionStart[] =
11+
static u32 MSectionStart[] =
1212
{
1313
0x00000000, 0x00008000,
1414
};

‎drivers/staging/slicoss/gbrcvucode.h‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/*
22
* Copyright (c) 1997-2002 Alacritech, Inc. All rights reserved
33
*
4-
* $Id: gbrcvucode.h,v 1.2 2006/03/27 15:12:15 mook Exp $
54
*
65
* Redistribution and use in source and binary forms, with or without
76
* modification, are permitted provided that the following conditions
@@ -32,10 +31,10 @@
3231
* official policies, either expressed or implied, of Alacritech, Inc.
3332
*
3433
**************************************************************************/
35-
#define GB_RCVUCODE_VERS_STRING "$Revision: 1.2 $"
36-
#define GB_RCVUCODE_VERS_DATE "$Date: 2006/03/27 15:12:15 $"
34+
#define GB_RCVUCODE_VERS_STRING "1.2"
35+
#define GB_RCVUCODE_VERS_DATE "2006/03/27 15:12:15"
3736

38-
static ULONG GBRcvUCodeLen = 512;
37+
static u32 GBRcvUCodeLen = 512;
3938

4039
static u8 GBRcvUCode[2560] =
4140
{

‎drivers/staging/slicoss/oasisdbgdownload.h‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
#define OASIS_UCODE_VERS_STRING "$Revision: 1.2 $"
2-
#define OASIS_UCODE_VERS_DATE "$Date: 2006/03/27 15:11:22 $"
1+
#define OASIS_UCODE_VERS_STRING "1.2"
2+
#define OASIS_UCODE_VERS_DATE "2006/03/27 15:11:22"
33
#define OASIS_UCODE_HOSTIF_ID 3
44

5-
static LONG ONumSections = 0x2;
6-
static ULONG OSectionSize[] =
5+
static s32 ONumSections = 0x2;
6+
static u32 OSectionSize[] =
77
{
88
0x00004000, 0x00010000,
99
};
1010

11-
static ULONG OSectionStart[] =
11+
static u32 OSectionStart[] =
1212
{
1313
0x00000000, 0x00008000,
1414
};

‎drivers/staging/slicoss/oasisdownload.h‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
#define OASIS_UCODE_VERS_STRING "$Revision: 1.2 $"
2-
#define OASIS_UCODE_VERS_DATE "$Date: 2006/03/27 15:10:37 $"
1+
#define OASIS_UCODE_VERS_STRING "1.2"
2+
#define OASIS_UCODE_VERS_DATE "2006/03/27 15:10:37"
33
#define OASIS_UCODE_HOSTIF_ID 3
44

5-
static LONG ONumSections = 0x2;
6-
static ULONG OSectionSize[] = {
5+
static s32 ONumSections = 0x2;
6+
static u32 OSectionSize[] = {
77
0x00004000, 0x00010000,
88
};
99

10-
static ULONG OSectionStart[] = {
10+
static u32 OSectionStart[] = {
1111
0x00000000, 0x00008000,
1212
};
1313

‎drivers/staging/slicoss/oasisrcvucode.h‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
#define OASIS_RCVUCODE_VERS_STRING "$Revision: 1.2 $"
2-
#define OASIS_RCVUCODE_VERS_DATE "$Date: 2006/03/27 15:10:28 $"
1+
#define OASIS_RCVUCODE_VERS_STRING "1.2"
2+
#define OASIS_RCVUCODE_VERS_DATE "2006/03/27 15:10:28"
33

4-
static ULONG OasisRcvUCodeLen = 512;
4+
static u32 OasisRcvUCodeLen = 512;
55

66
static u8 OasisRcvUCode[2560] =
77
{

0 commit comments

Comments
 (0)