Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1336011

Re: [PATCH 5/7] serial: clps711x: fix IS_ERR_VALUE usage

From Al Viro <viro@ZenIV.linux.org.uk>
Newsgroups linux.kernel
Subject Re: [PATCH 5/7] serial: clps711x: fix IS_ERR_VALUE usage
Date 2016-02-17 03:40 +0100
Message-ID <r30c1-8ce-7@gated-at.bofh.it> (permalink)
References <r2stH-2fA-9@gated-at.bofh.it> <r2stJ-2fA-49@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Feb 15, 2016 at 03:35:23PM +0100, Andrzej Hajda wrote:
> IS_ERR_VALUE macro should be used only with unsigned long type.
> For signed types comparison 'ret < 0' should be used.

ACK

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 5/7] serial: clps711x: fix IS_ERR_VALUE usage Andrzej Hajda <a.hajda@samsung.com> - 2016-02-15 15:40 +0100
  Re: [PATCH 5/7] serial: clps711x: fix IS_ERR_VALUE usage Al Viro <viro@ZenIV.linux.org.uk> - 2016-02-17 03:40 +0100

csiph-web