Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932227AbcK2VHH (ORCPT ); Tue, 29 Nov 2016 16:07:07 -0500 Received: from relay2.sgi.com ([192.48.180.65]:48645 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752706AbcK2VG7 (ORCPT ); Tue, 29 Nov 2016 16:06:59 -0500 Date: Tue, 29 Nov 2016 15:06:56 -0600 From: Alex Thorlton To: dan.carpenter@oracle.com, mingo@kernel.org, nzimmer@sgi.com, linux-kernel@vger.kernel.org, travis@sgi.com, tglx@linutronix.de, hpa@zytor.com, bigeasy@linutronix.de, athorlton@sgi.com, torvalds@linux-foundation.org, peterz@infradead.org, sivanich@sgi.com Cc: linux-tip-commits@vger.kernel.org Subject: Re: [tip:x86/urgent] x86/apic/uv: Silence a shift wrapping warning Message-ID: <20161129210656.GC67776@stormcage.americas.sgi.com> References: <20161123221908.GA23997@mwanda> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 921 Lines: 23 On Wed, Nov 23, 2016 at 10:25:48PM -0800, tip-bot for Dan Carpenter wrote: > Commit-ID: c4597fd756836a5fb7900f2091797ab564390ad0 > Gitweb: http://git.kernel.org/tip/c4597fd756836a5fb7900f2091797ab564390ad0 > Author: Dan Carpenter > AuthorDate: Thu, 24 Nov 2016 01:19:08 +0300 > Committer: Ingo Molnar > CommitDate: Thu, 24 Nov 2016 06:01:05 +0100 > > x86/apic/uv: Silence a shift wrapping warning > > 'm_io' is stored in 6 bits so it's a number in the 0-63 range. Static > analysis tools complain that 1 << 63 will wrap so I have changed it to > 1ULL << m_io. > > This code is over three years old so presumably the bug doesn't happen > very frequently in real life or someone would have complained by now. > > Signed-off-by: Dan Carpenter > Cc: Alex Thorlton Acked-by: Alex Thorlton - Alex