Message ID | 20170221233040.24241-1-jonas.gorski@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id AAE15602A7 for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 21 Feb 2017 23:31:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 91395285EE for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 21 Feb 2017 23:31:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 84B5128613; Tue, 21 Feb 2017 23:31:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 24CE3285EE for <patchwork-linux-arm@patchwork.kernel.org>; Tue, 21 Feb 2017 23:31:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=asC+mNpLIB2iiE7mXZIXFGvxQb4sD/fheLUc5df6hUE=; b=n1ev3C+oZiTeOb cNiuop0+P9v68uZJEBlnN4fA4zOF1H76GMbvSmj7dnEpP46QAfWi132xNOVUkT5FnHQzzvwYq/cwz sOJ+J//NTVo3XO4+YfRwyUHvlFKTHzrnH9qJqAlc23M5DYiYfVKs5O82WwBVArUGG+Irr6te0njgP 8QNkcHiB0+dpxbpU0a7JngI9hIqeifEAjCppH/+iJZRqTF/iSQfzeUzGls+5Nfn0NAZLRVXGlDYoL QJGFUKTdZUHjkPXmIMS49I/tmC9De3vpZZU0lHYxoa5alF8e2fWSxpospYTqe8StnT39+nwPpLGTg OXV6zXUxVH2/oy4XyaTQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cgJts-0000eY-Ar; Tue, 21 Feb 2017 23:31:16 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cgJto-0000d9-PJ for linux-arm-kernel@lists.infradead.org; Tue, 21 Feb 2017 23:31:14 +0000 Received: by mail-wm0-x241.google.com with SMTP id r18so22336929wmd.3 for <linux-arm-kernel@lists.infradead.org>; Tue, 21 Feb 2017 15:30:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=PCZ08cj4aYu0RwTfjsvI8L0m9xDshcq/RZrvrL9YPzI=; b=W+5eBfWLnEa3iCiCDYUFT4xjCWIcYyyVa3UXtWYuwENOXEKf5i6Of7BZ1pzmsjZty2 em50S/3k65w7gl/W81EJ4PLGwWp4nLVpiNFzVe8kekFMcupJk9xEi3WkbOMw4pa0rAOZ +6ROOAIzjYEHJoRJe3M6oFI3CYAM4kBG34wFDjEn96UABzTZ/hnhsjAKOcwCRmrcV5y2 mKHnZKjcE5meQX9Y/SQs0NQuZ+4z/TdmsgTBBZtcRhZ7Byk4d1C/lSffpjPOoWUWuMDT MHv1R2AveR6f9r7B1pd6FmH+4eoJmWuu48l9shBMc8edWVuRlCm7+px0eWr6b1m+oHBz kX0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=PCZ08cj4aYu0RwTfjsvI8L0m9xDshcq/RZrvrL9YPzI=; b=MeMExnvniDnUwmQhKDEH6EnLqsvgalTKetEu+IXh5Oyz4S8Nkp5tLswhxaOB3BoCr4 uQRE4//Q8B3ds1QXwj2+7Yi7MOqVw8UciipDR59569sM85u9W/gmGzkl5Z6JapgNWMlu sK0RN3A6a4szut5QnFyIf/gd4NX5Zq1RgjcaDWNmW8OpmFw2/q7umnkG8Y26xWhziIVf f24CpKNKi3+9p0HMcbdByeJGSqEo4dk1y03lxGOlGd/d0cjHJmJ2rgjd2uhpqqhaKezO sMLDUIn/4GbfaH7kA44XU9FoAuiItAkFjipOkJNM3osZvbyrwZBnOaHDSSIHtkFjjNf7 bg2g== X-Gm-Message-State: AMke39mpkJkhfvvpet0OcT/tZOPjxm1zdFuOKzflrFYXnSHvcyV/Ng1G+WUqso0Q8sHoYA== X-Received: by 10.28.98.194 with SMTP id w185mr29920515wmb.84.1487719849318; Tue, 21 Feb 2017 15:30:49 -0800 (PST) Received: from localhost.localdomain ([2001:470:9e39::48e]) by smtp.gmail.com with ESMTPSA id 35sm13818116wrj.4.2017.02.21.15.30.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Feb 2017 15:30:48 -0800 (PST) From: Jonas Gorski <jonas.gorski@gmail.com> To: linux-spi@vger.kernel.org Subject: [PATCH] spi/bcm63xx: fix typo in bcm63xx_spi_max_length breaking compilation Date: Wed, 22 Feb 2017 00:30:40 +0100 Message-Id: <20170221233040.24241-1-jonas.gorski@gmail.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170221_153113_004526_846E3BB9 X-CRM114-Status: GOOD ( 10.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Florian Fainelli <f.fainelli@gmail.com>, Mark Brown <broonie@kernel.org>, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/spi/spi-bcm63xx.c b/drivers/spi/spi-bcm63xx.c index 325131370941..247f71b02235 100644 --- a/drivers/spi/spi-bcm63xx.c +++ b/drivers/spi/spi-bcm63xx.c @@ -429,7 +429,7 @@ static irqreturn_t bcm63xx_spi_interrupt(int irq, void *dev_id) return IRQ_HANDLED; } -static size_t bcm63xx_spi_max_length(struct spi_device *dev) +static size_t bcm63xx_spi_max_length(struct spi_device *spi) { struct bcm63xx_spi *bs = spi_master_get_devdata(spi->master);
Fix compilation by renaming argument dev to spi as expected by the code. Fixes the following error: drivers/spi/spi-bcm63xx.c: In function ‘bcm63xx_spi_max_length’: drivers/spi/spi-bcm63xx.c:434:50: error: ‘spi’ undeclared (first use in this function) struct bcm63xx_spi *bs = spi_master_get_devdata(spi->master); ^~~ Fixes: 0135c03df914 ("spi/bcm63xx: make spi subsystem aware of message size limits") Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> --- Oops, fixed it up in the wrong tree. And I forgot I can compile test it, and can do compile tests directly. Anyway, Done on top of topic/bcm63xx. drivers/spi/spi-bcm63xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)