Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use integer as getopt_long returns integer
ARM chars are unsigned by default. getopt_long return 255 instead -1. That will cause an endless loop for aarch64 platform. Signed-off-by: Honggang Li <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Acked-by: Jonathan Toppins <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]>
- Loading branch information