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


Groups > linux.kernel > #1235550

Re: [PATCH] bna: fix error handling

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] bna: fix error handling
Date 2015-09-29 23:00 +0200
Message-ID <qeaaf-Lp-15@gated-at.bofh.it> (permalink)
References <qdCrT-Qy-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Andrzej Hajda <a.hajda@samsung.com>
Date: Mon, 28 Sep 2015 10:49:48 +0200

> Several functions can return negative value in case of error,
> so their return type should be fixed as well as type of variables
> to which this value is assigned.
> 
> The problem has been detected using proposed semantic patch
> scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1].
> 
> [1]: http://permalink.gmane.org/gmane.linux.kernel/2046107
> 
> Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>

Applied, thanks.
--
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 | Find similar | Unroll thread


Thread

[PATCH] bna: fix error handling Andrzej Hajda <a.hajda@samsung.com> - 2015-09-28 11:00 +0200
  Re: [PATCH] bna: fix error handling David Miller <davem@davemloft.net> - 2015-09-29 23:00 +0200

csiph-web