From mboxrd@z Thu Jan 1 00:00:00 1970 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=-3.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 AE9DAC4361B for ; Tue, 8 Dec 2020 18:03:50 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6D87A23B46 for ; Tue, 8 Dec 2020 18:03:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6D87A23B46 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ravnborg.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=p62/ohoiv7HlHv+hB6nOC3+dZG2FAyLdey/K4RfthWU=; b=bIjkTw68PVscR7kq5l5LE9zL/ rW+xYW2HETKH0AUgicIa05tkexOCv7PFRGU2l9v8F+7Bh9hV3MwuVDyQC1sWo33OoUOoR5+BKtfOP lbqpQnhFIT/TyfA4WWwe6keTNTbymzVGCqFNHqsgqLSARQq30CaajwwqBh6GYywIVPnpHQnxuHHcC oxg4oB3I7F98RTxPw4COk/PP2M7tYE/SIZqGPxZJMTqxP+gLi2V2N+5CKDYgnEi3v+dBawdi41uYe mGuYkwH4vefezdUR6JIFIWV4mcFOe6qz4dp9wf8vthTek+52K37ucOHVIlZTb+Mdcmhs4qPuVsj4l QpRjH1zkw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kmhJy-00088R-Cl; Tue, 08 Dec 2020 18:02:42 +0000 Received: from asavdk4.altibox.net ([109.247.116.15]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kmhJv-00086j-Ee for linux-arm-kernel@lists.infradead.org; Tue, 08 Dec 2020 18:02:40 +0000 Received: from ravnborg.org (unknown [188.228.123.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by asavdk4.altibox.net (Postfix) with ESMTPS id 4EDE380670; Tue, 8 Dec 2020 19:02:30 +0100 (CET) Date: Tue, 8 Dec 2020 19:02:28 +0100 From: Sam Ravnborg To: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, Lee Jones Subject: Re: [PATCH v3 0/13] drivers/video: W=1 warning fixes Message-ID: <20201208180123.GA76613@ravnborg.org> References: <20201206190247.1861316-1-sam@ravnborg.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201206190247.1861316-1-sam@ravnborg.org> X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=Itgwjo3g c=1 sm=1 tr=0 a=S6zTFyMACwkrwXSdXUNehg==:117 a=S6zTFyMACwkrwXSdXUNehg==:17 a=kj9zAlcOel0A:10 a=bexM8UI-dkrNMHotJ4MA:9 a=CjuIK1q_8ugA:10 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201208_130239_742118_35468D01 X-CRM114-Status: GOOD ( 23.20 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Rich Felker , Geert Uytterhoeven , Peter Zijlstra , Daniel Vetter , Douglas Anderson , Andrzej Hajda , Peter Jones , Kuninori Morimoto , Michael Ellerman , Alexander Klimov , Arnd Bergmann , Bartlomiej Zolnierkiewicz , Thomas Winischhofer , linux-arm-kernel@lists.infradead.org, Qilong Zhang , Randy Dunlap , Gustavo A R Silva , Thierry Reding , Thomas Zimmermann , Colin Ian King , Andrew Morton , Mike Rapoport Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sun, Dec 06, 2020 at 08:02:34PM +0100, Sam Ravnborg wrote: > Following the great work of Lee Jones in other subsystems > here is a set of patches that address all remaining W=1 > warnings in drivers/video/. > Lee Jones already fixed all warnings in video/backlight/ so > this is mostly fbdev related fixes. > > The general approach used were: > - Fix kernel-doc, this is often very trivial > - Drop unused local variables > > Build tested on a set of architectures with various configs. > > The patches do not depend on each other and fixes for one driver > are kept in a single patch. > > v2: > - Updated subject of the patches to tell what was fixed (Lee) > - Fixed build error in one patch (kernel test robot) > - A few editorials updates to the changelog messages > > v3: > - Applied patches that was acked - thanks Thomas! > - Updated patches after feedback from Randy and Thomas > - Added several new patches to cover warnings that triggers > with other architectures than the one I used for v1 + v2 > - Included one sh specific fix that handle a corner-case, > let's see what the sh people say to that > - One fix to previous set of patches to fix an issue > reported by Coverity (By Colin) > > Sam > > Sam Ravnborg (13): > video: fbdev: hgafb: Fix kernel-doc warnings > video: fbdev: core: Fix kernel-doc warnings in fbmon + fb_notify > video: fbdev: omapfb: Fix set but not used warnings in hdmi*_core > video: fbdev: uvesafb: Fix set but not used warning > sh: Fix set but not used warnings with !CONFIG_MMU > video: fbdev: sparc drivers: fix kernel-doc warnings for blank_mode > video: fbdev: mmp: Fix kernel-doc warning for lcd_spi_write > video: fbdev: wmt_ge_rops: Fix function not declared warnings > video: fbdev: goldfishfb: Fix defined but not used warning > video: fbdev: gbefb: Fix set but not used warning > video: fbdev: efifb: Fix set but not used warning for screen_pitch > video: fbdev: controlfb: Fix set but not used warnings > video: fbdev: sis: Drop useless call to SiS_GetResInfo() Thanks for the feedback! All applied to drm-misc-next except the sh patch. The sh patch will be resend to the sh people as it should go in via the sh tree. Sam _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel