Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp38390imu; Thu, 8 Nov 2018 14:20:54 -0800 (PST) X-Google-Smtp-Source: AJdET5fvk3pXDHDD+RExetP5kaQgFQDUmid1/N5R58chhMHdJtM8yXrGZEFIaj2YO/vHkkYVdK/Y X-Received: by 2002:a65:4208:: with SMTP id c8-v6mr5217641pgq.335.1541715654323; Thu, 08 Nov 2018 14:20:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541715654; cv=none; d=google.com; s=arc-20160816; b=OH1qGw5U5SggEbcS3GXyrZ2Q1KI7WZuTplAQJjBFCfONuBnmtpOuMhEeIAOytpk6Q1 8tBhjLghv4urOZLEKy9QTNWfZYU7/pCvjIJjZLcLIysaw+SetOb+cJXzKQLWx0jj5HvD qOuSpQOWChMPMxM1wNO9FQm9RKt8RrAWB7V01V3xjXIZ5ReYZ4ChSVkHEIR+zNBuinRI N0mYiiuPubpa/cLuE9VZ/boKb0pn6c5VQ0mfjiWG+xf7TeFTUdajRX3d4f1lVflJRgiM 12/exEK3iYO267jTKJnHuhJGKdbJRBTcel9GQEy/5LXvWZ3CPma29eziWLcWK7dSZzu+ sLrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=4I033zPPly7JkS2vYqEEHSKifh7ELTLsq9n+qL5VSVI=; b=FRncAMASsEL3xUgyz3iiPSmhPJz3f/zi9+gGXQvTbBb8LLKesLVCE0XmVBi3e6w9mr Nf0Wfoe4n2okp5CIjeCArQQDL2ph7KRPY9lh9+xcXJg32wmREPOsuvj0VmhtGxJPo4nD 5VPGscbM/iqHxl94/BgLoa1F4dNtuTr7wFXxFgPwFtTAYlGIkwt/2oMtGcqtr421i1na mXPjCjKlQnZjWcTXAdhEZEM3QXRV7xMYkY2rOpxvEQVWwwb6PquoMkAr/mo4fYAa36a6 q+qn4vYFPz0s3AWBGMzpW2O/OJi5/+/FhUBYtfvsOTWmkc0XcKtWAtdq13wFjiysMURh DHzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QXggYPhO; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c4-v6si5273757plo.69.2018.11.08.14.20.29; Thu, 08 Nov 2018 14:20:54 -0800 (PST) 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=QXggYPhO; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731583AbeKIH5j (ORCPT + 99 others); Fri, 9 Nov 2018 02:57:39 -0500 Received: from mail.kernel.org ([198.145.29.99]:36360 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729664AbeKIHnt (ORCPT ); Fri, 9 Nov 2018 02:43:49 -0500 Received: from localhost (unknown [208.72.13.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C1D6D21019; Thu, 8 Nov 2018 22:06:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541714778; bh=ZT/oeyjeNzx4Ru2HM/uQsI7pKJyS2Q/oAN6XXDqpnm8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QXggYPhO5A4r5ialw/6Rql/K51qFUe2gPnyu3nqkhe4xjGElWsd3xvv+acpigxmOK U00pQNdd4fXr4hhCl4NI5j5EF/kfpGqfv3/Sz/HOMrFIRrZGtH0t/aivK/QzzGCSGT aXN0sVibRFE3idQcuvdtwXMKWijfnLt+3bIXfnQU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Phil Reid , Jonathan Cameron , Sasha Levin Subject: [PATCH 4.9 120/171] iio: buffer: fix the function signature to match implementation Date: Thu, 8 Nov 2018 13:51:30 -0800 Message-Id: <20181108215135.963830543@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181108215127.257643509@linuxfoundation.org> References: <20181108215127.257643509@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ [ 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