src/[arch-lib]: change "unsigned" to "unsigned int"
Signed-off-by: Martin Roth <martin@coreboot.org> Change-Id: Ibb7b48a7a144421aff29acbb7ac30968ae5fe5ab Reviewed-on: https://review.coreboot.org/c/coreboot/+/36329 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
* @param apic_id The Local APIC ID number.
|
||||
* @return Pointer to the device structure (if found), 0 otherwise.
|
||||
*/
|
||||
struct device *dev_find_lapic(unsigned apic_id)
|
||||
struct device *dev_find_lapic(unsigned int apic_id)
|
||||
{
|
||||
struct device *dev;
|
||||
struct device *result = NULL;
|
||||
@@ -325,7 +325,7 @@ void compact_resources(struct device *dev)
|
||||
* @param index The index of the resource on the device.
|
||||
* @return The resource, if it already exists.
|
||||
*/
|
||||
struct resource *probe_resource(const struct device *dev, unsigned index)
|
||||
struct resource *probe_resource(const struct device *dev, unsigned int index)
|
||||
{
|
||||
struct resource *res;
|
||||
|
||||
@@ -348,7 +348,7 @@ struct resource *probe_resource(const struct device *dev, unsigned index)
|
||||
* @param index The index of the resource on the device.
|
||||
* @return TODO.
|
||||
*/
|
||||
struct resource *new_resource(struct device *dev, unsigned index)
|
||||
struct resource *new_resource(struct device *dev, unsigned int index)
|
||||
{
|
||||
struct resource *resource, *tail;
|
||||
|
||||
@@ -395,7 +395,7 @@ struct resource *new_resource(struct device *dev, unsigned index)
|
||||
* @param index The index of the resource on the device.
|
||||
* return TODO.
|
||||
*/
|
||||
struct resource *find_resource(const struct device *dev, unsigned index)
|
||||
struct resource *find_resource(const struct device *dev, unsigned int index)
|
||||
{
|
||||
struct resource *resource;
|
||||
|
||||
|
Reference in New Issue
Block a user