Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965172AbbLSR7L (ORCPT ); Sat, 19 Dec 2015 12:59:11 -0500 Received: from shards.monkeyblade.net ([149.20.54.216]:37009 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965060AbbLSR7J (ORCPT ); Sat, 19 Dec 2015 12:59:09 -0500 Date: Sat, 19 Dec 2015 12:59:07 -0500 (EST) Message-Id: <20151219.125907.1209644088992518899.davem@davemloft.net> To: khoroshilov@ispras.ru Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, ldv-project@linuxtesting.org Subject: Re: [PATCH v2] natsemi: add checks for dma mapping errors From: David Miller In-Reply-To: <1450527229-6454-1-git-send-email-khoroshilov@ispras.ru> References: <56754855.6080808@ispras.ru> <1450527229-6454-1-git-send-email-khoroshilov@ispras.ru> X-Mailer: Mew version 6.7 on Emacs 24.5 / 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.12 (shards.monkeyblade.net [149.20.54.216]); Sat, 19 Dec 2015 09:59:09 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 605 Lines: 16 From: Alexey Khoroshilov Date: Sat, 19 Dec 2015 15:13:49 +0300 > refill_rx() and start_tx() do not check if mapping dma memory succeed. > The patch adds the checks and failure handling. > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Alexey Khoroshilov Applied, thanks. -- 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/