summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorey Minyard <cminyard@mvista.com>2019-02-21 12:43:20 -0600
committerCorey Minyard <cminyard@mvista.com>2019-02-22 07:12:41 -0600
commitf25eb4483268c3352973f7ed888f26b7fb9662db (patch)
treeae48390f7000fa894ad2506cf52818dbf0c98925
parent41b766d661bf94a364960862cfc248a78313dbd3 (diff)
ipmi_si: Convert some types into unsigned
Things dealing with registers and addresses are all unsigned, make them so. Signed-off-by: Corey Minyard <cminyard@mvista.com>
-rw-r--r--drivers/char/ipmi/ipmi_si_sm.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/char/ipmi/ipmi_si_sm.h b/drivers/char/ipmi/ipmi_si_sm.h
index aaddf047d923..41aaa555d566 100644
--- a/drivers/char/ipmi/ipmi_si_sm.h
+++ b/drivers/char/ipmi/ipmi_si_sm.h
@@ -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;