Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3474656imu; Sun, 11 Nov 2018 15:57:23 -0800 (PST) X-Google-Smtp-Source: AJdET5f9nGNvfVc6bA2G15RquJY/sqR55CKLixn5NYxUIBgP3Igt2QwK3ZGJSJifVj8lA7g1Wrws X-Received: by 2002:a63:ea43:: with SMTP id l3-v6mr15739469pgk.427.1541980643098; Sun, 11 Nov 2018 15:57:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541980643; cv=none; d=google.com; s=arc-20160816; b=k+MyyrrRUISa0ttUL/gIYddlfYvMuxQ5z8Jv09DeYYg6Kn1/XJ9uPHuyzl4ovN6GTx cHwzFhxuE+rclveqr9/FLO/Y29DepnHE1fgzGm3kfM8qCp0C8jh3aFlBzsyFCYI7c4xs Hs9OqnePi4OMqP0xtGsghqqQi2T/XqSJ6DmZ0XVyYcduXfpd5EoRN4J9X2NxT8ZmYK3L srz9ryuNFmpUEwfvXwF4/17BsqEuHpOxZj20V6JAySpNFgA0WAYgqp2+48XEc9uSfCp+ fErAgMjHlAkdl7PXFwEbnNYPsxtOzx71xwRctzp57T9DUVattsyYPagDDoLxk6Av+KnL jhOQ== 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=hwVGkap2HxLhngVVZ9R3KzKYb1qjqtiQuUrrzVMnh2w=; b=xwdUtBlFn2ElTzo5AqBLy9gqyxRTrDnqDJvb1R+xb4FrWHPD8d/cE2MltDWGknNAV5 bvmmBqzS4cXQc3vqKo/STQaIuJBCdmabmlq58RSrKROY+j6u9YbdcgJH46k18muzcqmI 6dxLH7oKh7H2f/CwCFy17DSSFiLymBXmTTVkT4zGiAEMY5kS1AsimB10+AdbGgemV2Aq P/Kqj5Fhx+1mncJAY2WMj5+a3cXeOWQtThVzhYq2tu5ajWKnJiURCPp9Q95AjuUuM7Sj nHx0y7P3qHdzfp4ApZTIIa35zrM9ItDN/imSWMCIOwu6KJ61/bnhQsqWeebVcSGHNQlD bGCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=x1grzLwe; 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 b3-v6si17739644pfh.233.2018.11.11.15.57.08; Sun, 11 Nov 2018 15:57:23 -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=x1grzLwe; 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 S1732556AbeKLISN (ORCPT + 99 others); Mon, 12 Nov 2018 03:18:13 -0500 Received: from mail.kernel.org ([198.145.29.99]:35336 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732534AbeKLISM (ORCPT ); Mon, 12 Nov 2018 03:18:12 -0500 Received: from localhost (unknown [206.108.79.134]) (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 B386F208A3; Sun, 11 Nov 2018 22:28:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541975296; bh=f1w7zgAU7wDcqCuEAJA8FwQ6OW7/NZqyj4PHLC96Tvk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=x1grzLweM3y4PGfttl2/nRZACY8++FyGOasoff2Lm8QYVqoCeT8XzzYv8zIoHw/E0 pniTVdU8TfRj4+m/DBeQl+gxCtQ8r5gGECz94yJUiUHzD2owEUbUWOsvlwut0E34FX adWPkPcKm3w833+3nj2JL6OfDFCBJ0DqsD+SW8dw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Christian Lamparter , Vinod Koul Subject: [PATCH 4.19 214/361] dmaengine: ppc4xx: fix off-by-one build failure Date: Sun, 11 Nov 2018 14:19:21 -0800 Message-Id: <20181111221649.939131366@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181111221619.915519183@linuxfoundation.org> References: <20181111221619.915519183@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.19-stable review patch. If anyone has any objections, please let me know. ------------------ From: Christian Lamparter commit 27d8d2d7a9b7eb05c4484b74b749eaee7b50b845 upstream. There are two poly_store, but one should have been poly_show. |adma.c:4382:16: error: conflicting types for 'poly_store' | static ssize_t poly_store(struct device_driver *dev, const char *buf, | ^~~~~~~~~~ |adma.c:4363:16: note: previous definition of 'poly_store' was here | static ssize_t poly_store(struct device_driver *dev, char *buf) | ^~~~~~~~~~ CC: stable@vger.kernel.org Fixes: 13efe1a05384 ("dmaengine: ppc4xx: remove DRIVER_ATTR() usage") Signed-off-by: Christian Lamparter Signed-off-by: Vinod Koul Signed-off-by: Greg Kroah-Hartman --- drivers/dma/ppc4xx/adma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/dma/ppc4xx/adma.c +++ b/drivers/dma/ppc4xx/adma.c @@ -4360,7 +4360,7 @@ static ssize_t enable_store(struct devic } static DRIVER_ATTR_RW(enable); -static ssize_t poly_store(struct device_driver *dev, char *buf) +static ssize_t poly_show(struct device_driver *dev, char *buf) { ssize_t size = 0; u32 reg;