Commit 261a39c
committed
platform/mellanox: mlxbf-pmc: fix signedness bugs
JIRA: https://issues.redhat.com/browse/RHEL-45234
commit 7c8772f
Author: Dan Carpenter <dan.carpenter@linaro.org>
Date: Thu, 29 Feb 2024 16:11:36 +0300
These need to be signed for the error handling to work. The
mlxbf_pmc_get_event_num() function returns int so int type is correct.
Fixes: 1ae9ffd ("platform/mellanox: mlxbf-pmc: Cleanup signed/unsigned mix-up")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/a4af764e-990b-4ebd-b342-852844374032@moroto.mountain
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Luiz Capitulino <luizcap@redhat.com>1 parent fe2ea10 commit 261a39c
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1505 | 1505 | | |
1506 | 1506 | | |
1507 | 1507 | | |
1508 | | - | |
| 1508 | + | |
1509 | 1509 | | |
| 1510 | + | |
1510 | 1511 | | |
1511 | 1512 | | |
1512 | 1513 | | |
| |||
1539 | 1540 | | |
1540 | 1541 | | |
1541 | 1542 | | |
1542 | | - | |
| 1543 | + | |
1543 | 1544 | | |
1544 | 1545 | | |
| 1546 | + | |
1545 | 1547 | | |
1546 | 1548 | | |
1547 | 1549 | | |
| |||
1621 | 1623 | | |
1622 | 1624 | | |
1623 | 1625 | | |
1624 | | - | |
| 1626 | + | |
1625 | 1627 | | |
| 1628 | + | |
1626 | 1629 | | |
1627 | 1630 | | |
1628 | 1631 | | |
| |||
0 commit comments