Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751821AbaLNF3d (ORCPT ); Sun, 14 Dec 2014 00:29:33 -0500 Received: from mail-qg0-f41.google.com ([209.85.192.41]:60423 "EHLO mail-qg0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750731AbaLNF3b (ORCPT ); Sun, 14 Dec 2014 00:29:31 -0500 MIME-Version: 1.0 In-Reply-To: References: <1415653764-22162-1-git-send-email-cernekee@gmail.com> From: Kevin Cernekee Date: Sat, 13 Dec 2014 21:29:10 -0800 Message-ID: Subject: Re: [PATCH 1/2] [CIFS] Fix signed/unsigned pointer warning To: Steve French Cc: Steve French , "linux-cifs@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Dec 13, 2014 at 9:20 PM, Steve French wrote: > Probably harmless patch - but I didn't notice the warning on x86 > kernel build (building on Fedora 21, gcc 4.9.2) Did you test x86 32-bit or 64-bit? In the generic do_div() implementation, only the former case has an explicit type check. FWIW I'm on 32-bit bit MIPS. -- 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/