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


Groups > linux.kernel > #1231036 > unrolled thread

Re: [PATCH 22/38] orinoco: fix checking for default value

Started byDavid Miller <davem@davemloft.net>
First post2015-09-23 01:20 +0200
Last post2015-09-23 01:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 22/38] orinoco: fix checking for default value David Miller <davem@davemloft.net> - 2015-09-23 01:20 +0200

#1231036 — Re: [PATCH 22/38] orinoco: fix checking for default value

FromDavid Miller <davem@davemloft.net>
Date2015-09-23 01:20 +0200
SubjectRe: [PATCH 22/38] orinoco: fix checking for default value
Message-ID<qbF0T-35n-31@gated-at.bofh.it>
From: Andrzej Hajda <a.hajda@samsung.com>
Date: Mon, 21 Sep 2015 15:33:54 +0200

> Thresholds uses -1 to indicate that default value should be used.
> Since thresholds are unsigned sign checking makes no sense.
> 
> The problem has been detected using proposed semantic patch
> scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1].
> 
> [1]: http://permalink.gmane.org/gmane.linux.kernel/2038576
> 
> Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>

Applied.
--
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/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web