diff options
author | Mark Hounschell <markh@compro.net> | 2014-03-19 15:46:57 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-19 13:54:39 -0700 |
commit | 67d5dc8a69bf91720f0a8fdeaa5ef94c42d1637e (patch) | |
tree | 782c23809f08928d9946b03799115e3a13ee2559 /drivers/staging/dgap/dgap.h | |
parent | 65fbed376a2d731005a5bd7f808c1bb5ac718a57 (diff) | |
download | linux-67d5dc8a69bf91720f0a8fdeaa5ef94c42d1637e.tar.bz2 |
staging: dgap: fix the rest of the checkpatch warnings in dgap.c
This patch fixes all the simple_strtol and simple_strtoul warnings
as reported by checkpatch. After this patch, checkpatch will report
zero errors or warnings on dgap.c.
Signed-off-by: Mark Hounschell <markh@compro.net>
Tested-by: Mark Hounschell <markh@compro.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dgap/dgap.h')
-rw-r--r-- | drivers/staging/dgap/dgap.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/drivers/staging/dgap/dgap.h b/drivers/staging/dgap/dgap.h index c8f85096789b..6b8f5f858327 100644 --- a/drivers/staging/dgap/dgap.h +++ b/drivers/staging/dgap/dgap.h @@ -1226,7 +1226,7 @@ struct cnode { union { struct { char type; /* Board Type */ - short port; /* I/O Address */ + long port; /* I/O Address */ char *portstr; /* I/O Address in string */ long addr; /* Memory Address */ char *addrstr; /* Memory Address in string */ @@ -1234,9 +1234,9 @@ struct cnode { char *pcibusstr; /* PCI BUS in string */ long pcislot; /* PCI SLOT */ char *pcislotstr; /* PCI SLOT in string */ - char nport; /* Number of Ports */ + long nport; /* Number of Ports */ char *id; /* tty id */ - int start; /* start of tty counting */ + long start; /* start of tty counting */ char *method; /* Install method */ char v_type; char v_port; @@ -1261,18 +1261,18 @@ struct cnode { struct { char *cable; char v_cable; - char speed; + long speed; char v_speed; } line; struct { char type; char *connect; - char speed; - char nport; + long speed; + long nport; char *id; char *idstr; - int start; + long start; char v_type; char v_connect; char v_speed; @@ -1283,10 +1283,10 @@ struct cnode { struct { char type; - char nport; + long nport; char *id; char *idstr; - int start; + long start; char v_type; char v_nport; char v_id; @@ -1299,23 +1299,23 @@ struct cnode { char *printname; - int majornumber; + long majornumber; - int altpin; + long altpin; - int ttysize; + long ttysize; - int chsize; + long chsize; - int bssize; + long bssize; - int unsize; + long unsize; - int f2size; + long f2size; - int vpixsize; + long vpixsize; - int useintr; + long useintr; } u; }; |