Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965201Ab3DPUbI (ORCPT ); Tue, 16 Apr 2013 16:31:08 -0400 Received: from perches-mx.perches.com ([206.117.179.246]:58629 "EHLO labridge.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S936148Ab3DPUbG (ORCPT ); Tue, 16 Apr 2013 16:31:06 -0400 Message-ID: <1366144265.28609.10.camel@joe-AO722> Subject: Re: [PATCH net] hyperv: Fix a compiler warning in netvsc_send() From: Joe Perches To: Haiyang Zhang Cc: David Miller , "netdev@vger.kernel.org" , KY Srinivasan , "olaf@aepfle.de" , "jasowang@redhat.com" , "linux-kernel@vger.kernel.org" , "devel@linuxdriverproject.org" Date: Tue, 16 Apr 2013 13:31:05 -0700 In-Reply-To: References: <1366139031-12518-1-git-send-email-haiyangz@microsoft.com> <20130416.151141.1928940532005718606.davem@davemloft.net> <57e8f99081a94575a57cae5e93705c22@DFM-DB3MBX15-06.exchange.corp.microsoft.com> <20130416.154912.896506198616355113.davem@davemloft.net> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.6.2-0ubuntu0.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 646 Lines: 15 On Tue, 2013-04-16 at 20:18 +0000, Haiyang Zhang wrote: > > From: David Miller [mailto:davem@davemloft.net] > > It works fine, but it's unclean. > > Keep the req_id type as "u64", because that's what it is, a 64-bit request ID. > I will make this update and submit a new patch, with the added comments. Do you mean you'll use this to avoid compiler warnings? req_id = (u64)(unsigned long)packet; -- 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/