From patchwork Sat Nov 11 10:41:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13453048 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 80C74C4332F for ; Sat, 11 Nov 2023 10:43:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=WbcQC5BCq2rFEJcIW8rZ0knbgA4hL506XDNXTwCS3BM=; b=c/+/Bv8odOSD+V UTPkWsRvid/6kwC+XxGgLQG5dlAA6mcwvfNAqdF7vsoxtQgeo6+3i7hI37h9OhZqDMg3rzLSc9VUV j0RBNk1Gbrz14/OZBnpS3IQ2MvtDDHu52quM7+A8gBW2XgAMYcVkHnPYMwgo48PwwI9UT674LHg/N oCklp9etgTdd5cAom9qEYoRgGgzbM1fo2SUuORayJBhH5G0P694hYA5eIT8ZMTUpJcvozj3Cd30dO uOqqKXkYM3ZuLKl3H4fVmHX1VX0MP4aJPXri4YZVlodUP0iNIRPQA7kj4990y4/vnpwQ9Tw7MJWi0 reGvurtFiYokxg2URndw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r1lS0-00AMH8-1V; Sat, 11 Nov 2023 10:42:52 +0000 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r1lRv-00AMD6-19 for linux-arm-kernel@lists.infradead.org; Sat, 11 Nov 2023 10:42:48 +0000 Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-9df8d0c2505so585438866b.0 for ; Sat, 11 Nov 2023 02:42:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1699699365; x=1700304165; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=IDgHYbXQcqXOi8pgjjCFs89msy5Cd5Tn06zlqflQDL0=; b=qtJQoYtrbXbgyF4fBHrAB3DISEes2n2K0LEpBmbT+7GdjJkot/hGZ6tKaFHhliVRV3 jOhq1ZM2nuXqH4ZzJ7yE6deKBFnS1qrLhVJIOAZnkzopLt/QijY6Opn/wwtV7DFV0WF1 g9kBlIbsILd8CIEA+of8Acf40OI72Swt5Suq4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699699365; x=1700304165; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IDgHYbXQcqXOi8pgjjCFs89msy5Cd5Tn06zlqflQDL0=; b=Q72XYfZPcDlQhmfUhHyC/xqH0qGar1zsH7GUTXsqaPjdX8CKQ5c4/oRizLTfrFasTT kAbJpK1Wtg7NkQq17aGmS9YZYDCCCAWMSOb5kBJXk9WSKlU7Hbq/9fdqOiN6YQKI55cp +dwNCjFtpOwAvOW6q90QSjArJ+XS19Kwi8ve+OCz66jcB05sygHEFMsjmFrHBbu5CE6m FLOcXdDBULQtR0D1/curd1QuPPwct9/pbn/fs939r4gf9Kt33v04nH4M7cD2+il3aTpU N8lJzEL8ws0tpUS7+K/0hfHKLr+zHuZZnLc7qhjbt5qUFS6ZhY5sFxjPxUnZpo5PQ99c b+6w== X-Gm-Message-State: AOJu0Yy08Qzd9K5n9egq2FWM3GYkUeC05YqBmkefd0yKROO6zGYlq+N0 8J4o3qEtJLiyGWFaO3ds6qRiFw== X-Google-Smtp-Source: AGHT+IGWjzXZAnVOpqEeTHo29O9vwepCgThZZ6Cih0GL59Twpo4NVs/EaN2y7j4ks3a/O63PR8CCEA== X-Received: by 2002:a17:906:80c4:b0:9ae:50ec:bd81 with SMTP id a4-20020a17090680c400b009ae50ecbd81mr4311227ejx.21.1699699365597; Sat, 11 Nov 2023 02:42:45 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.homenet.telecomitalia.it (host-79-20-97-182.retail.telecomitalia.it. [79.20.97.182]) by smtp.gmail.com with ESMTPSA id ga33-20020a1709070c2100b0099e12a49c8fsm872183ejc.173.2023.11.11.02.42.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Nov 2023 02:42:45 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, Dario Binacchi , Fabio Estevam , Helge Deller , NXP Linux Team , Pengutronix Kernel Team , Sascha Hauer , Shawn Guo , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-fbdev@vger.kernel.org Subject: [PATCH 07/10] fbdev: imxfb: add missing spaces after ',' Date: Sat, 11 Nov 2023 11:41:56 +0100 Message-ID: <20231111104225.136512-8-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231111104225.136512-1-dario.binacchi@amarulasolutions.com> References: <20231111104225.136512-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231111_024247_395520_DD104A40 X-CRM114-Status: GOOD ( 10.76 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fix the following checkpatch error: ERROR: space required after that ',' (ctx:VxV) Signed-off-by: Dario Binacchi --- drivers/video/fbdev/imxfb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/fbdev/imxfb.c b/drivers/video/fbdev/imxfb.c index 83497f6998f1..ad293dc44dbb 100644 --- a/drivers/video/fbdev/imxfb.c +++ b/drivers/video/fbdev/imxfb.c @@ -280,10 +280,10 @@ static int imxfb_setpalettereg(u_int regno, u_int red, u_int green, u_int blue, struct imxfb_info *fbi = info->par; u_int val, ret = 1; -#define CNVT_TOHW(val,width) ((((val)<<(width))+0x7FFF-(val))>>16) +#define CNVT_TOHW(val, width) ((((val)<<(width))+0x7FFF-(val))>>16) if (regno < fbi->palette_size) { val = (CNVT_TOHW(red, 4) << 8) | - (CNVT_TOHW(green,4) << 4) | + (CNVT_TOHW(green, 4) << 4) | CNVT_TOHW(blue, 4); writel(val, fbi->regs + 0x800 + (regno << 2));