From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: [rdma-core/rdma-ndd] Use integer as getopt_long returns integer Date: Tue, 25 Apr 2017 13:47:41 -0600 Message-ID: <20170425194741.GA10325@obsidianresearch.com> References: <1493099392-1883-1-git-send-email-honli@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1493099392-1883-1-git-send-email-honli-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Honggang LI Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-rdma@vger.kernel.org On Tue, Apr 25, 2017 at 01:49:52PM +0800, Honggang LI wrote: > From: Honggang Li > > 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 Yep Reviewed-by: Jason Gunthorpe Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html