Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932464AbbB0U7h (ORCPT ); Fri, 27 Feb 2015 15:59:37 -0500 Received: from shards.monkeyblade.net ([149.20.54.216]:54066 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932386AbbB0U71 (ORCPT ); Fri, 27 Feb 2015 15:59:27 -0500 Date: Fri, 27 Feb 2015 15:59:25 -0500 (EST) Message-Id: <20150227.155925.1726922130874367959.davem@davemloft.net> To: dan.carpenter@oracle.com Cc: jiri@resnulli.us, sfeldma@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [patch 2/2] rocker: silence shift wrapping warning From: David Miller In-Reply-To: <20150225133612.GV19745@mwanda> References: <20150225133612.GV19745@mwanda> X-Mailer: Mew version 6.5 on Emacs 24.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.7 (shards.monkeyblade.net [149.20.54.216]); Fri, 27 Feb 2015 12:59:27 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 636 Lines: 16 From: Dan Carpenter Date: Wed, 25 Feb 2015 16:36:12 +0300 > "val" is declared as a u64 so static checkers complain that this shift > can wrap. I don't have the hardware but probably it's doesn't have over > 31 ports. Still we may as well silence the warning even if it's not a > real bug. > > Signed-off-by: Dan Carpenter 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/