From patchwork Sun Jul 22 03:16:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 10539117 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 7132713BB for ; Sun, 22 Jul 2018 03:16:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5AA601FF0B for ; Sun, 22 Jul 2018 03:16:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4CF041FF62; Sun, 22 Jul 2018 03:16:14 +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=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BC4941FF41 for ; Sun, 22 Jul 2018 03:16:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727013AbeGVELO (ORCPT ); Sun, 22 Jul 2018 00:11:14 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:44230 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725757AbeGVELO (ORCPT ); Sun, 22 Jul 2018 00:11:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:MIME-Version:Date:Message-ID:Subject:From:Cc:To:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=U7unbqGBM/xEQvCo+vXRGRIyi3nZx5Bu3C1NeJSi5gM=; b=MzOF+1+Eda31BJkoL4PTJ0BSZ LcVyu8ljV8hHhtoIOjvo+5ds9sdVtekAsBsRd+L1y9x/Rb1IQQUL6XOMdyeS371Eq5oVcCOZZcwIk jONH4/TW2X4tfratLQyzbxdFwU2K98snTth9k7jXg7R2Y60OJJ4bydEKAH6q0CJh+N1VfWc6BU1OM /qu9Pirlofa4/M5AZZ2r67vrZCc59FGxKWEPAQU1BAfyEW9zuqfmlNLZ3XktSPGpGBnVlNFwldUvq 0d1AJrf+JCBtObWsTT2GeqnDyWfIs8ggWbvIjvwVywywN0UhFN6h0+5kIcJg4CzZAFRiLqL9FK4DL QTHNxrAKA==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=dragon.dunlab) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fh4qw-0000HI-PS; Sun, 22 Jul 2018 03:16:10 +0000 To: Bartlomiej Zolnierkiewicz , linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org Cc: linux-omap@vger.kernel.org From: Randy Dunlap Subject: [PATCH] fbdev: fix omap2/omapfb/dss/ indentation warning Message-ID: <6a9560cc-1abc-f329-d82e-0a128d29c9fe@infradead.org> Date: Sat, 21 Jul 2018 20:16:09 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Language: en-US Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Randy Dunlap Fix indentation warning (from gcc 8.1.0) in omap2/omapfb: ../drivers/video/fbdev/omap2/omapfb/dss/dispc.c: In function 'pixinc': ../drivers/video/fbdev/omap2/omapfb/dss/dispc.c:1859:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ ../drivers/video/fbdev/omap2/omapfb/dss/dispc.c:1861:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' return 0; ^~~~~~ Signed-off-by: Randy Dunlap Cc: Bartlomiej Zolnierkiewicz Cc: linux-omap@vger.kernel.org Cc: linux-fbdev@vger.kernel.org Cc: dri-devel@lists.freedesktop.org --- drivers/video/fbdev/omap2/omapfb/dss/dispc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- linux-next-20180717.orig/drivers/video/fbdev/omap2/omapfb/dss/dispc.c +++ linux-next-20180717/drivers/video/fbdev/omap2/omapfb/dss/dispc.c @@ -1858,7 +1858,7 @@ static s32 pixinc(int pixels, u8 ps) return 1 - (-pixels + 1) * ps; else BUG(); - return 0; + return 0; } static void calc_vrfb_rotation_offset(u8 rotation, bool mirror,