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


Groups > linux.kernel > #1295450

Re: [PATCH] ti-st: Use a signed return type for st_ll_sleep_state()

From Dan Carpenter <dan.carpenter@oracle.com>
Newsgroups linux.kernel
Subject Re: [PATCH] ti-st: Use a signed return type for st_ll_sleep_state()
Date 2015-12-19 21:20 +0100
Message-ID <qHw8W-7P7-17@gated-at.bofh.it> (permalink)
References <qHsyl-5vX-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


It returns zero or negative error codes.  The return value is never
checked.  Make it an int.

regards,
dan carpenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

[PATCH] ti-st: Use a signed return type for st_ll_sleep_state() SF Markus Elfring <elfring@users.sourceforge.net> - 2015-12-19 17:30 +0100
  Re: [PATCH] ti-st: Use a signed return type for st_ll_sleep_state() Dan Carpenter <dan.carpenter@oracle.com> - 2015-12-19 21:20 +0100
    [PATCH v2] ti-st: Use a signed return type for st_ll_sleep_state() SF Markus Elfring <elfring@users.sourceforge.net> - 2015-12-22 14:50 +0100

csiph-web