Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp1933554ima; Thu, 25 Oct 2018 07:14:15 -0700 (PDT) X-Google-Smtp-Source: AJdET5fpnt9kVXvrmZQPlGwURKYmwMtvBUW5aw8W8G42hDyTtBLGT+ayI+lGzcKOKJmtCl9CK5Eq X-Received: by 2002:a17:902:8eca:: with SMTP id x10-v6mr1702044plo.336.1540476855570; Thu, 25 Oct 2018 07:14:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540476855; cv=none; d=google.com; s=arc-20160816; b=amijV5qg9jZ94oZxhNnftnW7dhJyWEV5XRMAtde8gVel+MLnI30MV25C2CSaluOrzw JMIyDe6NQ16wFb7gb0uwMPMeHh8u0Byrcka1BT8DZ6N5AJIc9WGwnvl+0/WGWXP7fMq+ LQzSl5BpdTgiitrzFoZ4HAbogYWcQAJzg0FroP/PHgQW554T84oFGiqyZkyEHZVFTWAy F7m0C9tGoafpT3dUEKn+oG3RQ975t48A7S41s6IW9rBVWbUf/XTCHskEj5xjNHWIE0yB OXJ0XsWax/Jw9Psj2nbPT3zjsiysejdlR7/17FnTDr7FuytXWQvT+zQw3IiU8xRknRYe HWmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=IRrW0BDvXxVIwiGNvzAmTMzadq7ofC5VvzcoKS1p2ls=; b=l0HBfpLtT/5keobhVtvCnevf/GzK4UaAzjOLvXX8KessYuzZ/WxxIZbVwDRWPs6k6Q BCDkWrQslJuoeLDRbBl4otxsAc+FzBKqA0TqlAYT9RpZdzhDEGeSpUVeaRwQkc8pak6U fUfp2kdNuQ/uAf3CdV0i1WrPA+Yb5lQgbdXQviWoDrdT9JvOOCYM4t+he6sNe3DCQYeT fBhT8HXuMogMXojZ9KTURVX03RM4fwZARspgC3fgxRBy6+Cykx/VEwqqaLoh0IOjcMVo RyPqItytKpGOI07yDDFRvuKP2wUBrmauqJFqco/PhuApMtsRQs0n07HciImgYtKL7ru6 CqnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=VEZiU8II; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m6-v6si8423103pfg.282.2018.10.25.07.13.53; Thu, 25 Oct 2018 07:14:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=VEZiU8II; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728362AbeJYWom (ORCPT + 99 others); Thu, 25 Oct 2018 18:44:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:53654 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728299AbeJYWok (ORCPT ); Thu, 25 Oct 2018 18:44:40 -0400 Received: from sasha-vm.mshome.net (unknown [167.98.65.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 82C9F2085A; Thu, 25 Oct 2018 14:11:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1540476705; bh=uFi8++aud9pMcidOyNDhqivN9zE51COICqxdCsz/wEg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VEZiU8II6rfCtSuwigbsgxIRKwsczyn04HcfmWGfB9ax3x22govyB3UqLNk7wqOFt XVMWGrSjszle6mg8UMtzU5kQWrFOKLgcjPhELhT1YupLNjeA9+ahFcE8H9GJvXCQ7d WYqbPEg5nZ0Ne/lhURG65rG0MuWVGtuChKnNErAo= From: Sasha Levin To: stable@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Phil Reid , Jonathan Cameron , Sasha Levin Subject: [PATCH AUTOSEL 4.14 36/46] iio: buffer: fix the function signature to match implementation Date: Thu, 25 Oct 2018 10:10:43 -0400 Message-Id: <20181025141053.213330-36-sashal@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181025141053.213330-1-sashal@kernel.org> References: <20181025141053.213330-1-sashal@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Phil Reid [ Upstream commit 92397a6c38d139d50fabbe9e2dc09b61d53b2377 ] linux/iio/buffer-dma.h was not updated to when length was changed to unsigned int. Fixes: c043ec1ca5ba ("iio:buffer: make length types match kfifo types") Signed-off-by: Phil Reid Signed-off-by: Jonathan Cameron Signed-off-by: Sasha Levin --- include/linux/iio/buffer-dma.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/iio/buffer-dma.h b/include/linux/iio/buffer-dma.h index 767467d886de..67c75372b691 100644 --- a/include/linux/iio/buffer-dma.h +++ b/include/linux/iio/buffer-dma.h @@ -141,7 +141,7 @@ int iio_dma_buffer_read(struct iio_buffer *buffer, size_t n, char __user *user_buffer); size_t iio_dma_buffer_data_available(struct iio_buffer *buffer); int iio_dma_buffer_set_bytes_per_datum(struct iio_buffer *buffer, size_t bpd); -int iio_dma_buffer_set_length(struct iio_buffer *buffer, int length); +int iio_dma_buffer_set_length(struct iio_buffer *buffer, unsigned int length); int iio_dma_buffer_request_update(struct iio_buffer *buffer); int iio_dma_buffer_init(struct iio_dma_buffer_queue *queue, -- 2.17.1