Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760903Ab3GaVuJ (ORCPT ); Wed, 31 Jul 2013 17:50:09 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:33496 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760796Ab3GaVuE (ORCPT ); Wed, 31 Jul 2013 17:50:04 -0400 Date: Wed, 31 Jul 2013 14:50:03 -0700 (PDT) Message-Id: <20130731.145003.232571872024474569.davem@davemloft.net> To: hayeswang@realtek.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [PATCH v4 4/5] net/usb/r8152: make sure the USB buffer is DMA-able From: David Miller In-Reply-To: <1375262486-5373-4-git-send-email-hayeswang@realtek.com> References: <1375262486-5373-1-git-send-email-hayeswang@realtek.com> <1375262486-5373-4-git-send-email-hayeswang@realtek.com> X-Mailer: Mew version 6.5 on Emacs 24.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.1 (shards.monkeyblade.net [0.0.0.0]); Wed, 31 Jul 2013 14:50:03 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 500 Lines: 14 From: Hayes Wang Date: Wed, 31 Jul 2013 17:21:25 +0800 > Allocate the required memory before calling usb_control_msg. And > the additional memory copy is necessary. > > Signed-off-by: Hayes Wang Applied. -- 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/