From patchwork Wed Jan 13 14:49:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12017007 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6B114C433E0 for ; Wed, 13 Jan 2021 14:50:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 243EB235FF for ; Wed, 13 Jan 2021 14:50:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725843AbhAMOu4 (ORCPT ); Wed, 13 Jan 2021 09:50:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725772AbhAMOuz (ORCPT ); Wed, 13 Jan 2021 09:50:55 -0500 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3438BC061794 for ; Wed, 13 Jan 2021 06:50:15 -0800 (PST) Received: by mail-wm1-x32f.google.com with SMTP id c124so1836295wma.5 for ; Wed, 13 Jan 2021 06:50:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ZQA0SZS1JjhX66Y3VfvSEDt+f937BTntRK0+0hGKg34=; b=MwG9/Qb6GaHppLStwh0d8g1sY54LVGRwX3gXPZ3kQgCT9ZIDpmtPk7cscnHIZBHdIT 6uFVdU4FQdl4gZYI9xks/jTNsVnE6HnH0Js2wu1T1BLUnMnVGvl8dYPIRb0XB7rwP1PV PqCc86pEjQfUdgzibMJ9yPZcNC63MCHC+5JmnZS6Q5ru0WjX4d6UxjertOoZJXpWFqB4 9Otj49ELyBLyKb8lFCpERdPWMl0XuIb/G1737c6sgQu5FeLzATgOgrfq09jZPss8N9MR eQH5FtIMvUPKiqCGu+dFedTgUDGRI03g9F5N76w/Ez4e/XK25iX0sBLYXYVw5aWdGjgI bFwg== 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=ZQA0SZS1JjhX66Y3VfvSEDt+f937BTntRK0+0hGKg34=; b=U245XqhdwI5By4kEb3Ne+9QUUatMdm4em6NLR/FYbK5vi/AyNFaGMhENNwrbg3SsMr 0Vxe6M/Lh/y259PZGnZKRd/JOLPPZQ/+Y/TbttxXrZH2HQAo32eF/hM+GmJAk5042cF8 AIEIwgMAx6YLS8upTuAxMzSdeSTOcIc5a6MoC/pNgzXOm71QIZkEC+g511XsirdNzOiC 4ymW62yorLsrYQb7mywRmoHEvoOxnZLTiH7RLOXW3h+bcmElnXAyr0QHe8e5Svg0neEP XIi/cLNmniLmWhy4FpcDRgIyJtCK4jsZRNZhaMjmpOLJ1AwhiOjKUbl9F7s8E5YmixVv NLTg== X-Gm-Message-State: AOAM530w30q/3wo8eYYjVmZ8K3IqnMDfabAiJc6tSJJGj8ftW+MV4mqB YuBpCbnJ5dx/AzGYAJfmzKGz4w== X-Google-Smtp-Source: ABdhPJyo01wJxIFaqfZaXsoDcuI6YydBQRYmxjlBlLsIvZ45jzX5rh/ERwTAcG1tKBC+qAUFjEGQyw== X-Received: by 2002:a1c:ba07:: with SMTP id k7mr2582205wmf.34.1610549413750; Wed, 13 Jan 2021 06:50:13 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id t188sm3273433wmf.9.2021.01.13.06.50.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 06:50:12 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Alan Cox , Alex Dewar , Alex Kern , Ani Joshi , Ani Joshi , Anthony Tong , Antonino Daplas , Antonino Daplas , Arnd Bergmann , Bartlomiej Zolnierkiewicz , Ben Dooks , Benjamin Herrenschmidt , Brad Douglas , carter@compsci.bristol.ac.uk, daniel.mantione@freepascal.org, dri-devel@lists.freedesktop.org, "Eddie C. Dost" , Egbert Eich , Emmanuel Marty , Evgeny Novikov , Florian Tobias Schandinat , Frodo Looijaard , Gerd Knorr , Ghozlane Toumi , "Gustavo A. R. Silva" , Hannu Mallat , Helge Deller , Ilario Nardinocchi , Jakub Jelinek , Jakub Jelinek , James Simmons , James Simmons , Jeff Garzik , Jes Sorensen , Jim Hague , Jingoo Han , John Fremlin , Kristoffer Ericson , linux-fbdev@vger.kernel.org, "Mark D. Studebaker" , Martin Mares , Mike Rapoport , Oliver Kropp , Paul Mundt , Philip Edelbrock , Ralph Metzler , Sam Ravnborg , Sascha Hauer , Software Engineering , Steffen Trumtrar , Thibaut VARENE , "Thomas J. Moore" , Thomas Winischhofer , Urs Ganse , Vaibhav Gupta , William Rucklidge Subject: [PATCH 00/31] Rid W=1 warnings from Video Date: Wed, 13 Jan 2021 14:49:38 +0000 Message-Id: <20210113145009.1272040-1-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org This set is part of a larger effort attempting to clean-up W=1 kernel builds, which are currently overwhelmingly riddled with niggly little warnings. This patch-set clears all of the W=1 warnings currently residing in drivers/video. Lee Jones (31): video: fbdev: core: fbmon: Add missing description for 'specs' video: of_display_timing: Provide missing description for 'dt' video: fbdev: aty: atyfb_base: Remove superfluous code surrounding 'dac_type' video: fbdev: aty: atyfb_base: Mark 'dac_type' as __maybe_unused video: of_videomode: Fix formatting in kernel-doc header video: fbdev: core: fb_notify: Demote non-conformant kernel-doc header video: fbdev: riva: fbdev: Fix some kernel-doc misdemeanours video: fbdev: sis: sis_main: Remove unused variable 'reg' video: fbdev: sis: Remove superfluous include of 'init.h' video: fbdev: riva: riva_hw: Remove a bunch of unused variables video: fbdev: sis: init: Remove four unused variables video: fbdev: sis: oem310: Remove some unused static const tables video: fbdev: nvidia: nv_setup: Remove a couple of unused 'tmp' variables video: fbdev: aty: mach64_ct: Remove some set but unused variables video: fbdev: via: lcd: Remove unused variable 'mode_crt_table' video: fbdev: pm2fb: Fix some kernel-doc formatting issues video: fbdev: aty: radeon_monitor: Remove unused variable 'mon_types' video: fbdev: neofb: Remove unused variable 'CursorMem' video: fbdev: tdfxfb: Remove unused variable 'tmp' video: fbdev: core: fbcon: Mark 'pending' as __maybe_unused video: fbdev: sstfb: Mark 3 debug variables as __maybe_unused video: fbdev: cirrusfb: Remove unused variable 'dummy' from 'WHDR()' video: fbdev: s1d13xxxfb: Mark debug variables as __maybe_unused video: fbdev: s3c-fb: Fix some kernel-doc misdemeanours video: fbdev: mx3fb: Remove unused variable 'enabled' video: fbdev: riva: riva_hw: Remove set but unused variables 'vus_p' and 'vus_n' video: fbdev: sis: init: Remove unused variables 'cr_data2', 'VT' and 'HT' video: fbdev: cirrusfb: Add description for 'info' and correct spelling of 'regbase' video: fbdev: s1d13xxxfb: Function name must be on the 2nd line in kernel-doc video: fbdev: s3c-fb: Remove unused variable 'var' from 's3c_fb_probe_win()' video: fbdev: mx3fb: Fix some kernel-doc issues drivers/video/fbdev/aty/atyfb_base.c | 5 +--- drivers/video/fbdev/aty/mach64_ct.c | 19 ++----------- drivers/video/fbdev/aty/radeon_monitor.c | 4 +-- drivers/video/fbdev/cirrusfb.c | 20 +++++++------- drivers/video/fbdev/core/fb_notify.c | 3 +-- drivers/video/fbdev/core/fbcon.c | 2 +- drivers/video/fbdev/core/fbmon.c | 2 +- drivers/video/fbdev/mx3fb.c | 11 ++++---- drivers/video/fbdev/neofb.c | 5 ---- drivers/video/fbdev/nvidia/nv_setup.c | 8 ++---- drivers/video/fbdev/pm2fb.c | 12 ++++----- drivers/video/fbdev/riva/fbdev.c | 15 ++++------- drivers/video/fbdev/riva/riva_hw.c | 30 +++++++-------------- drivers/video/fbdev/s1d13xxxfb.c | 5 ++-- drivers/video/fbdev/s3c-fb.c | 11 ++++---- drivers/video/fbdev/sis/init.c | 34 +++++------------------- drivers/video/fbdev/sis/oem310.h | 20 -------------- drivers/video/fbdev/sis/sis.h | 1 - drivers/video/fbdev/sis/sis_main.c | 9 +++---- drivers/video/fbdev/sstfb.c | 2 +- drivers/video/fbdev/tdfxfb.c | 4 +-- drivers/video/fbdev/via/lcd.c | 4 +-- drivers/video/of_display_timing.c | 1 + drivers/video/of_videomode.c | 10 +++---- 24 files changed, 72 insertions(+), 165 deletions(-) Cc: Alan Cox Cc: Alex Dewar Cc: Alex Kern Cc: Ani Joshi Cc: Ani Joshi Cc: Anthony Tong Cc: Antonino Daplas Cc: Antonino Daplas Cc: Arnd Bergmann Cc: Bartlomiej Zolnierkiewicz Cc: Ben Dooks Cc: Benjamin Herrenschmidt Cc: Brad Douglas Cc: carter@compsci.bristol.ac.uk Cc: daniel.mantione@freepascal.org Cc: dri-devel@lists.freedesktop.org Cc: "Eddie C. Dost" Cc: Egbert Eich Cc: Emmanuel Marty Cc: Evgeny Novikov Cc: Florian Tobias Schandinat Cc: Frodo Looijaard Cc: Gerd Knorr Cc: Ghozlane Toumi Cc: "Gustavo A. R. Silva" Cc: Hannu Mallat Cc: Helge Deller Cc: Ilario Nardinocchi Cc: Jakub Jelinek Cc: Jakub Jelinek Cc: James Simmons Cc: James Simmons Cc: Jeff Garzik Cc: Jes Sorensen Cc: Jim Hague Cc: Jingoo Han Cc: John Fremlin Cc: Kristoffer Ericson Cc: linux-fbdev@vger.kernel.org Cc: "Mark D. Studebaker" Cc: Martin Mares Cc: Mike Rapoport Cc: Oliver Kropp Cc: Paul Mundt Cc: Philip Edelbrock Cc: Ralph Metzler Cc: Sam Ravnborg Cc: Sascha Hauer Cc: Software Engineering Cc: Steffen Trumtrar Cc: Thibaut VARENE Cc: "Thomas J. Moore" Cc: Thomas Winischhofer Cc: Urs Ganse Cc: Vaibhav Gupta Cc: William Rucklidge