logic_pio: Use RESOURCE_SIZE_MAX definition
PATCH RESEND 1/1 logic_pio: Use RESOURCE_SIZE_MAX definition
Use a predefined limit instead of hardcoding it.
---
v1: resent with Andrew in Cc list
Initial contribution was here more than a month ago:
https://lore.kernel.org/r/[email protected]
lib/logic_pio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/logic_pio.c +1 -1
@@ -175,7 +175,7 @@ resource_size_t logic_pio_to_hwaddr(unsigned long pio)if (range)return range->hw_start + pio - range->io_start; -return (resource_size_t )~0 ; +return RESOURCE_SIZE_MAX ; }/**
Signature · 1 line
2.40.0.1.gaa8946217a0b
Quoted 1 line · Andy Shevchenko
Use a predefined limit instead of hardcoding it.
Any comments on this?
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 4 lines · Andy Shevchenko
Quoted 1 line · Andy Shevchenko
Use a predefined limit instead of hardcoding it.
Any comments on this?
It's month passed, can this be applied if no further comments?
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 7 lines · Andy Shevchenko
Quoted 4 lines · Andy Shevchenko
Quoted 1 line · Andy Shevchenko
Use a predefined limit instead of hardcoding it.
Any comments on this?
It's month passed, can this be applied if no further comments?
Maybe you should cc someone who knows about and cares about the code instead of someone who did a driveby patch recently? get_maintainer.pl is not a replacement for using your brain.
Quoted 1 line · Andy Shevchenko
Use a predefined limit instead of hardcoding it.
Can we apply this one?
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 4 lines · Andy Shevchenko
Quoted 1 line · Andy Shevchenko
Use a predefined limit instead of hardcoding it.
Can we apply this one?
Why are you asking me? I don't even know what this driver is for.