[PATCH AUTOSEL 5.4 197/330] tools: gpio-hammer: Avoid potential overflow in main