From patchwork Mon Jan 31 10:49:51 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suresh Jayaraman X-Patchwork-Id: 518981 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p0VAp0O0024940 for ; Mon, 31 Jan 2011 10:51:00 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755291Ab1AaKux (ORCPT ); Mon, 31 Jan 2011 05:50:53 -0500 Received: from cantor2.suse.de ([195.135.220.15]:55616 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755263Ab1AaKuw (ORCPT ); Mon, 31 Jan 2011 05:50:52 -0500 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.221.2]) by mx2.suse.de (Postfix) with ESMTP id BD0F98726A; Mon, 31 Jan 2011 11:50:51 +0100 (CET) Message-ID: <4D4693CF.9090903@suse.de> Date: Mon, 31 Jan 2011 16:19:51 +0530 From: Suresh Jayaraman User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101125 SUSE/3.0.11 Thunderbird/3.0.11 MIME-Version: 1.0 To: Stephen Rothwell , Steve French Cc: linux-cifs@vger.kernel.org, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Pavel Shilovsky , Jeff Layton Subject: Re: linux-next: build warning after merge of the cifs tree References: <20110131133038.ab3aa826.sfr@canb.auug.org.au> In-Reply-To: <20110131133038.ab3aa826.sfr@canb.auug.org.au> Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Mon, 31 Jan 2011 10:51:00 +0000 (UTC) diff --git a/fs/cifs/file.c b/fs/cifs/file.c index 0de17c1..2a3c5d8 100644 --- a/fs/cifs/file.c +++ b/fs/cifs/file.c @@ -1667,7 +1667,7 @@ static ssize_t cifs_iovec_write(struct file *file, const struct iovec *iov, unsigned long nr_segs, loff_t *poffset) { - size_t total_written = 0, written = 0; + unsigned int total_written = 0, written = 0; unsigned long num_pages, npages; size_t copied, len, cur_len, i; struct kvec *to_send;