Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754801Ab0ATWox (ORCPT ); Wed, 20 Jan 2010 17:44:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754786Ab0ATWov (ORCPT ); Wed, 20 Jan 2010 17:44:51 -0500 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:60211 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753773Ab0ATWou (ORCPT ); Wed, 20 Jan 2010 17:44:50 -0500 Date: Wed, 20 Jan 2010 14:45:00 -0800 (PST) Message-Id: <20100120.144500.40591155.davem@davemloft.net> To: shemminger@linux-foundation.org Cc: mchan@broadcom.com, jarkao2@gmail.com, mbreuer@majjas.com, akpm@linux-foundation.org, flyboy@gmail.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, pcnet32@verizon.net, romieu@fr.zoreil.com, mcarlson@broadcom.com Subject: Re: [PATCH] sky2: Fix WARNING: at lib/dma-debug.c:902 check_sync From: David Miller In-Reply-To: <20100120123033.0746b11e@nehalam> References: <20100120100316.2b5b1b05@nehalam> <1264018312.9030.76.camel@nseg_linux_HP1.broadcom.com> <20100120123033.0746b11e@nehalam> X-Mailer: Mew version 6.3 on Emacs 23.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 587 Lines: 15 From: Stephen Hemminger Date: Wed, 20 Jan 2010 12:30:33 -0800 > It looks like the size passed to sync_single has to match size of original > mapping. I think that's rediculious, and unreasonable. All implementations of these APIs where the sync matters have the ability to handle partial syncs correctly. -- 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/