src/include: Fix unsigned warnings
Fix warning detected by checkpatch.pl: WARNING: Prefer 'unsigned int' to bare use of 'unsigned' BRANCH=none BUG=None TEST=Build and run on Galileo Gen2 Change-Id: I23d9b4b715aa74acc387db8fb8d3c73bd5cabfaa Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18607 Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com> Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
75d8d8da47
commit
0ca2a0654c
17 changed files with 145 additions and 133 deletions
|
|
@ -40,64 +40,64 @@ enum device_path_type {
|
|||
|
||||
struct domain_path
|
||||
{
|
||||
unsigned domain;
|
||||
unsigned int domain;
|
||||
};
|
||||
|
||||
struct pci_path
|
||||
{
|
||||
unsigned devfn;
|
||||
unsigned int devfn;
|
||||
};
|
||||
|
||||
struct pnp_path
|
||||
{
|
||||
unsigned port;
|
||||
unsigned device;
|
||||
unsigned int port;
|
||||
unsigned int device;
|
||||
};
|
||||
|
||||
struct i2c_path
|
||||
{
|
||||
unsigned device;
|
||||
unsigned mode_10bit;
|
||||
unsigned int device;
|
||||
unsigned int mode_10bit;
|
||||
};
|
||||
|
||||
struct spi_path
|
||||
{
|
||||
unsigned cs;
|
||||
unsigned int cs;
|
||||
};
|
||||
|
||||
struct apic_path
|
||||
{
|
||||
unsigned apic_id;
|
||||
unsigned package_id;
|
||||
unsigned node_id;
|
||||
unsigned core_id;
|
||||
unsigned thread_id;
|
||||
unsigned int apic_id;
|
||||
unsigned int package_id;
|
||||
unsigned int node_id;
|
||||
unsigned int core_id;
|
||||
unsigned int thread_id;
|
||||
};
|
||||
|
||||
struct ioapic_path
|
||||
{
|
||||
unsigned ioapic_id;
|
||||
unsigned int ioapic_id;
|
||||
};
|
||||
|
||||
struct cpu_cluster_path
|
||||
{
|
||||
unsigned cluster;
|
||||
unsigned int cluster;
|
||||
};
|
||||
|
||||
struct cpu_path
|
||||
{
|
||||
unsigned id;
|
||||
unsigned int id;
|
||||
};
|
||||
|
||||
struct cpu_bus_path
|
||||
{
|
||||
unsigned id;
|
||||
unsigned int id;
|
||||
};
|
||||
|
||||
struct generic_path
|
||||
{
|
||||
unsigned id;
|
||||
unsigned subid;
|
||||
unsigned int id;
|
||||
unsigned int subid;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue