From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755553AbcITQEh (ORCPT ); Tue, 20 Sep 2016 12:04:37 -0400 Received: from mail-pa0-f66.google.com ([209.85.220.66]:34228 "EHLO mail-pa0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754803AbcITQEe (ORCPT ); Tue, 20 Sep 2016 12:04:34 -0400 From: Andrey Smirnov To: linux-doc@vger.kernel.org Cc: Jonathan Corbet , linux-kernel@vger.kernel.org, Andrey Smirnov Subject: [PATCH] Documentation: DMA-API-HOWTO: Fix a typo Date: Tue, 20 Sep 2016 09:04:20 -0700 Message-Id: <1474387460-5849-1-git-send-email-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.5.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix a type in example variable name. Signed-off-by: Andrey Smirnov --- Documentation/DMA-API-HOWTO.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/DMA-API-HOWTO.txt b/Documentation/DMA-API-HOWTO.txt index 781024e..d08a56a 100644 --- a/Documentation/DMA-API-HOWTO.txt +++ b/Documentation/DMA-API-HOWTO.txt @@ -699,7 +699,7 @@ to use the dma_sync_*() interfaces. dma_addr_t mapping; mapping = dma_map_single(cp->dev, buffer, len, DMA_FROM_DEVICE); - if (dma_mapping_error(cp->dev, dma_handle)) { + if (dma_mapping_error(cp->dev, mapping)) { /* * reduce current DMA mapping usage, * delay and try again later or -- 2.5.5