Skip to content

Commit

Permalink
ipmi_si: Convert some types into unsigned
Browse files Browse the repository at this point in the history
Things dealing with registers and addresses are all unsigned, make
them so.

Signed-off-by: Corey Minyard <[email protected]>
  • Loading branch information
cminyard committed Feb 22, 2019
1 parent 41b766d commit f25eb44
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/char/ipmi/ipmi_si_sm.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ struct si_sm_io {
* state machine shouldn't touch these.
*/
void __iomem *addr;
int regspacing;
int regsize;
int regshift;
unsigned int regspacing;
unsigned int regsize;
unsigned int regshift;
int addr_type;
long addr_data;
unsigned long addr_data;
enum ipmi_addr_src addr_source; /* ACPI, PCI, SMBIOS, hardcode, etc. */
void (*addr_source_cleanup)(struct si_sm_io *io);
void *addr_source_data;
Expand Down

0 comments on commit f25eb44

Please sign in to comment.