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.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT 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 C218AC4724C for ; Thu, 30 Apr 2020 20:19:36 +0000 (UTC) Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (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 9811A2076D for ; Thu, 30 Apr 2020 20:19:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kocurkovo.cz header.i=@kocurkovo.cz header.b="OzZrNtkd" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9811A2076D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kocurkovo.cz Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=driverdev-devel-bounces@linuxdriverproject.org Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 6C38087EB4; Thu, 30 Apr 2020 20:19:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T-og9Nc+np3a; Thu, 30 Apr 2020 20:19:35 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id CB8A287EA6; Thu, 30 Apr 2020 20:19:35 +0000 (UTC) Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 0ABE81BF3A0 for ; Thu, 30 Apr 2020 20:19:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0494087FDA for ; Thu, 30 Apr 2020 20:19:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b4qVyyUrTTsa for ; Thu, 30 Apr 2020 20:19:32 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.kocurkovo.cz (mail.kocurkovo.cz [185.8.236.170]) by whitealder.osuosl.org (Postfix) with ESMTPS id EF38187EB0 for ; Thu, 30 Apr 2020 20:19:31 +0000 (UTC) Received: by mail.kocurkovo.cz (Postfix, from userid 1000) id 2D1F6954; Thu, 30 Apr 2020 22:10:06 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mail.kocurkovo.cz 2D1F6954 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kocurkovo.cz; s=mail; t=1588277406; bh=GRiqx3S89pnK7y7w7UBxwGrz8iZUSDLvCma5su5DnY8=; h=From:To:Cc:Subject:Date:From; b=OzZrNtkdl+Tr4LsizEOjPoSKbwnO+sLyLOuLT+FGPu9wluqS6K+eYdfijsaeurXth 1Uqw+iNr2KC0JhrWN8HfiRMZC2rbOp4RxuX8wtW4xRS+1Lxay/50MFJe9pJP62Sl43 4h1CKo6sJi0ZVis0vVwfSAlGHYY3ayV5jPZlX5iU= From: Matej Dujava To: Sudip Mukherjee , Teddy Wang , Greg Kroah-Hartman , linux-fbdev@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] Refactor reused code for updating fb_info Date: Thu, 30 Apr 2020 22:09:23 +0200 Message-Id: <1588277366-19354-1-git-send-email-mdujava@kocurkovo.cz> X-Mailer: git-send-email 1.8.3.1 X-BeenThere: driverdev-devel@linuxdriverproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Driver Project Developer List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" This patch set will unify reused switch statement updating fb_info by creating inline functions. Tested only by compilation. Matej Dujava (3): staging: sm750fb: add missing case while setting FB_VISUAL staging: sm750fb: add common function to set color offsets and visual mode staging: sm750fb: print error message with actual value drivers/staging/sm750fb/sm750.c | 150 +++++++++++++++----------------- 1 file changed, 68 insertions(+), 82 deletions(-) -- 2.26.2 _______________________________________________ devel mailing list devel@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel