From patchwork Mon Mar 4 19:52:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10838473 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7074F1803 for ; Mon, 4 Mar 2019 19:58:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5CF602AEFC for ; Mon, 4 Mar 2019 19:58:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4C0362B2A8; Mon, 4 Mar 2019 19:58:12 +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=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F3F752AEFC for ; Mon, 4 Mar 2019 19:58:11 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id DD4F989CD5; Mon, 4 Mar 2019 19:58:10 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org X-Greylist: delayed 309 seconds by postgrey-1.36 at gabe; Mon, 04 Mar 2019 19:58:08 UTC Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.24]) by gabe.freedesktop.org (Postfix) with ESMTPS id EFA8A89CD5 for ; Mon, 4 Mar 2019 19:58:08 +0000 (UTC) Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.145]) with ESMTPA (Nemesis) id 1M5fQq-1gus1p3JvO-007AE3; Mon, 04 Mar 2019 20:52:51 +0100 From: Arnd Bergmann To: Bartlomiej Zolnierkiewicz , Greg Kroah-Hartman Subject: [PATCH] fbdev: mbx: fix a misspelled variable name Date: Mon, 4 Mar 2019 20:52:30 +0100 Message-Id: <20190304195249.971696-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:j0OchP5xh01wVB9iofwyR9iMpO2auVbr9yCqhmDCRvC814ivy/o J9JKkA+/kFqOEfKEIpgQ3+4Axg2U9pwJGiOHcHx/H+vSsOuRuVK1ckDdJefANImUYebDv4t Vbxc5swlaCmpS4b6oynyKiF2F7Q2RJt4wAwzSxTEH/7DeK7EaxYpMHEpiAc12GL+KXB1g2E q/ORNEn3Qv5KLI/kujAFw== X-UI-Out-Filterresults: notjunk:1;V03:K0:N2UTYi2r1O4=:WziGEEo+heeZDn39euSZUU 9iXjEK4TrVgqo2HJvXIGdIqLSsQi72oVrKuOsvw7jsp5rNaiuyLwjw3dmOuVwIuGmElUeYWfQ gqdQTIw9IZ2QwIK/ybm+mGYrz9tvE5IRnF4d2vf7RITUc1qpdiWXf2u5eifP2EHyzMQ9yjRLv 8S8u1z575Qj+ssejiliziCo1dqVGqMcialj4RVyXxhcccijseT924WuVZRkQKRl6yx4aCaxSd Pk4va60+MWKTce2u8bsA9J8AeOkIB6z679PgCvOxi3yE/1s8YWxATmVLN3VbQgqTSBeXgnKZ4 r+aadCBPknctgQD9bagiAhBCuiI+oc4bQzIWB8R3cwALm+HwuFlTj9BuA7qYWu0yFJGh3etwE HGNradWhXDL9x1t9YgimbxM4uyg+rLFz23/5cof31tAyZHtzDxk84QwCCrb/p0VAQsbcESCSQ PsllKzVAh1KNPH4Fh3/mn0jhZIqeItx4Kns64OIcPmaEDA8TwvrLMxiLhfCFcObTP0TbIE7v2 z6Xh17xcG7AT83eApnjNKEzUWV/PzVLdXqxr15+KjMA9STZ3pDhekOeg+9O4mypTqRtFNZHVt daSHsa/HJqXvBh3oR7/nvUPPhnezgAKnsVParsI1hgrzZvHZcAOB7fHL3gBlD+r/ODRJIxtrL vl3ro+wsJNbZEvw7BJJ43Ld3V9f1vfeV6G7P5QRkR8zKBd/Ek4iDNHx2OtZCDqKr/6UyZAeiG ymrLg2+ll927KGC6XmS1oefmXFTJUDLLQItYJw== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, Arnd Bergmann , linux-kernel@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP A recent cleanup introduced a build failure when a variable was spelled incorrectly: In file included from drivers/video/fbdev/mbx/mbxfb.c:881: drivers/video/fbdev/mbx/mbxdebugfs.c: In function 'mbxfb_debugfs_init': drivers/video/fbdev/mbx/mbxdebugfs.c:217:2: error: 'mbfi' undeclared (first use in this function); did you mean 'mfbi'? mbfi->debugfs_dir = dir; ^~~~ mfbi drivers/video/fbdev/mbx/mbxdebugfs.c:217:2: note: each undeclared identifier is reported only once for each function it appears in drivers/video/fbdev/mbx/mbxdebugfs.c:213:21: error: unused variable 'mfbi' [-Werror=unused-variable] struct mbxfb_info *mfbi = fbi->par; ^~~~ Fixes: 72aed9e31344 ("fbdev: mbx: fix up debugfs file creation") Signed-off-by: Arnd Bergmann --- drivers/video/fbdev/mbx/mbxdebugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/mbx/mbxdebugfs.c b/drivers/video/fbdev/mbx/mbxdebugfs.c index 52cfe0132b25..09af721638fb 100644 --- a/drivers/video/fbdev/mbx/mbxdebugfs.c +++ b/drivers/video/fbdev/mbx/mbxdebugfs.c @@ -214,7 +214,7 @@ static void mbxfb_debugfs_init(struct fb_info *fbi) struct dentry *dir; dir = debugfs_create_dir("mbxfb", NULL); - mbfi->debugfs_dir = dir; + mfbi->debugfs_dir = dir; debugfs_create_file("sysconf", 0444, dir, fbi, &sysconf_fops); debugfs_create_file("clock", 0444, dir, fbi, &clock_fops);