Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3432848imu; Sun, 11 Nov 2018 15:00:31 -0800 (PST) X-Google-Smtp-Source: AJdET5fv42gST55mccXNMgsWIvxN9u686tGeDDkUSYYRzM50uG9RQJG3UPBiqK5VCnTjLw5N/8o8 X-Received: by 2002:a17:902:5a89:: with SMTP id r9-v6mr6499687pli.305.1541977231480; Sun, 11 Nov 2018 15:00:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541977231; cv=none; d=google.com; s=arc-20160816; b=jCNObYNOfv6B1doG6oEDLlbadnXbt2mEkls/R0biohBlcKlGLClRFd9UxzNsnXybNV 3AJG6OlsKKlgD7Yn/vpqnbETiOVzA4KAatxxO5E79YQ+ddMYUrqgmULZrwD3jDODfhBt LOdgAQOPjroJQ4STZlsm+TH8WWKbvodwCNDuNZ25VjT8SxZaA7L3RIoCHTQH+ZESbmod nPNDogFQOONNXQ8B1uu1q9rHDY40RZNZ8FKSePBdb1vWJpTFXxhEExFjPLLa9RnR8Wg5 m5nC1o5R8L339/s8FKyDUvN/uJxvJ4312AIFDohEkPxsRNdswjBQuNmqVEADVr9dfqSZ BiEQ== 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=+C4ZwrrJVa1eGANj2bElcnhwAy6bJnhQecRaiY0MxGE=; b=xzS103DVs8xsZgPHycm5dEuB6mDt7edVYP/TCREgoMVKphxtABV1LKtpn4VlJ24I0z M2LvAMkx11TlCLzrqzyWonDDIW6LpBN/zPzE7bIFA/XvMl+gRurAK9kPNr/Cix/fiog9 cq+tc8yV1Dbgh0lKdjqzB5ypAYZawxusQhdV0QXXqPAl6Kr7ilKu0QrQyVKvfYmtegug /WycvbJ1fCIkoWz+UYuD5qOMxlbOktD5rUSoDNDJ7CU3obm2ob1erFxOXjz9HlNKC+nl aHmZpZMHmLOuBaw03/v8JV7jpbISFBe17c5A+qxfN9vijZTy+pXA6ky+MVePdH2J+uky xVGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Tu0th+b/"; 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 l185si14052047pgd.253.2018.11.11.15.00.16; Sun, 11 Nov 2018 15:00:31 -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="Tu0th+b/"; 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 S2403870AbeKLIse (ORCPT + 99 others); Mon, 12 Nov 2018 03:48:34 -0500 Received: from mail.kernel.org ([198.145.29.99]:53878 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403763AbeKLIWk (ORCPT ); Mon, 12 Nov 2018 03:22:40 -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 6ED9C21707; Sun, 11 Nov 2018 22:32:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1541975563; bh=DX5DKsdNyfyQ1jseEn469DT4m89aRJOmuY4NBtMJyPQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Tu0th+b/eFrH20uXbIOkusaDGKnw4L/bZ4PyzNkkwIUAUQb40mP8zQnKS/KiZct3g qmsCAn3xY4TBQrPwhNrj1NKPLXStSGijbEr2N6GANQQZWzIYjllV9l4m0STVtFCMXn 5kiAVAA5uXyFUa7eyHh7OX3HesycGmfwQROzZKPk= 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.14 129/222] dmaengine: ppc4xx: fix off-by-one build failure Date: Sun, 11 Nov 2018 14:23:46 -0800 Message-Id: <20181111221659.153303559@linuxfoundation.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181111221647.665769131@linuxfoundation.org> References: <20181111221647.665769131@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.14-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;