From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from c60.cesmail.net ([216.154.195.49]:24885 "EHLO c60.cesmail.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750964AbZFVQBD (ORCPT ); Mon, 22 Jun 2009 12:01:03 -0400 Subject: Re: [PATCH] wireless: remove redundant tests on unsigned From: Pavel Roskin To: Roel Kluin Cc: linville@tuxdriver.com, linux-wireless@vger.kernel.org, Andrew Morton In-Reply-To: <4A3FA65D.5030107@gmail.com> References: <4A3FA65D.5030107@gmail.com> Content-Type: text/plain Date: Mon, 22 Jun 2009 12:01:04 -0400 Message-Id: <1245686464.26471.12.camel@mj> Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Mon, 2009-06-22 at 17:42 +0200, Roel Kluin wrote: > bufsize and remainder are unsigned. When negative they are wrapped and caught by > the other test. For hermes.c: Signed-off-by: Pavel Roskin -- Regards, Pavel Roskin