From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753165Ab0JBIuL (ORCPT ); Sat, 2 Oct 2010 04:50:11 -0400 Received: from freeflow.nu ([178.79.134.28]:35337 "EHLO freeflow.nu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751847Ab0JBIuK (ORCPT ); Sat, 2 Oct 2010 04:50:10 -0400 Message-ID: <4CA6F240.5090702@kernel.org> Date: Sat, 02 Oct 2010 11:50:08 +0300 From: Pekka Enberg User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 MIME-Version: 1.0 To: Namhyung Kim , David Rientjes CC: Christoph Lameter , Matt Mackall , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] slub: Fix signedness warnings References: <1285761735-31499-1-git-send-email-namhyung@gmail.com> In-Reply-To: <1285761735-31499-1-git-send-email-namhyung@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 29.9.2010 15.02, Namhyung Kim wrote: > The bit-ops routines require its arg to be a pointer to unsigned long. > This leads sparse to complain about different signedness as follows: > > mm/slub.c:2425:49: warning: incorrect type in argument 2 (different signedness) > mm/slub.c:2425:49: expected unsigned long volatile *addr > mm/slub.c:2425:49: got long *map > > Signed-off-by: Namhyung Kim The series has been applied. Thanks! From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail203.messagelabs.com (mail203.messagelabs.com [216.82.254.243]) by kanga.kvack.org (Postfix) with ESMTP id 5BC246B0047 for ; Sat, 2 Oct 2010 04:50:10 -0400 (EDT) Message-ID: <4CA6F240.5090702@kernel.org> Date: Sat, 02 Oct 2010 11:50:08 +0300 From: Pekka Enberg MIME-Version: 1.0 Subject: Re: [PATCH 1/3] slub: Fix signedness warnings References: <1285761735-31499-1-git-send-email-namhyung@gmail.com> In-Reply-To: <1285761735-31499-1-git-send-email-namhyung@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org To: Namhyung Kim , David Rientjes Cc: Christoph Lameter , Matt Mackall , linux-mm@kvack.org, linux-kernel@vger.kernel.org List-ID: On 29.9.2010 15.02, Namhyung Kim wrote: > The bit-ops routines require its arg to be a pointer to unsigned long. > This leads sparse to complain about different signedness as follows: > > mm/slub.c:2425:49: warning: incorrect type in argument 2 (different signedness) > mm/slub.c:2425:49: expected unsigned long volatile *addr > mm/slub.c:2425:49: got long *map > > Signed-off-by: Namhyung Kim The series has been applied. Thanks! -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org