mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-15 21:26:05 +07:00
greybus: loopback: use u32 for stats update
The only values supplied to gb_loopback_update_stats() are 32-bits, so change the type of the second argument to reflect that. Signed-off-by: Alex Elder <elder@linaro.org> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
parent
3320e78455
commit
a6e7e53548
@ -348,7 +348,7 @@ static void gb_loopback_reset_stats(struct gb_loopback *gb)
|
||||
sizeof(struct gb_loopback_stats));
|
||||
}
|
||||
|
||||
static void gb_loopback_update_stats(struct gb_loopback_stats *stats, u64 val)
|
||||
static void gb_loopback_update_stats(struct gb_loopback_stats *stats, u32 val)
|
||||
{
|
||||
if (stats->min > val)
|
||||
stats->min = val;
|
||||
|
Loading…
Reference in New Issue
Block a user