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: 3004 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 8126C3F057 for ; Sat, 11 Nov 2023 11:42:47 +0100 (CET) Received: by mail-ed1-f69.google.com with SMTP id 4fb4d7f45d1cf-542d5dd0c8esf4519805a12.1 for ; Sat, 11 Nov 2023 02:42:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1699699367; cv=pass; d=google.com; s=arc-20160816; b=Q+mRUlABKxKui7Vu0ogZ97+mvR/yWKLLaOi8lTItYVhnrZEdLZRsg258eqqSa09lon BW4MxH2chSoUcONdDZ25hapX5XK/OURJdC/mS2EaUSL6JeSz6TVr3bsC3XJK+4AhP4qR WKZJq4XdMyiLr0p9l9LLPAo3t0krR+Cwuo8GdbECXS/ZfNYaV9MOI2CTQBfLzfe7TMig lhgJdQLtEuLtTQ07Fr6sXvQgxZlkvFx0/O5sJslCK/3dEKvbJcoVHqUqcc3OvZg/UIpB DqjmHc65BTOgKdFZuaKUpi/2z1ds8ktjD3cfnxyjbmh8aYGKWELPd3CffQ5kQj6b7yK8 P3bA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=TwOupDUvsrscBLkvpqJGSzll8pnT5of+cE5m/PBRxPU=; fh=CRQFspQ+XVmz3jTpDmawxjgq3paXQGVEDP+3Wpr+FXU=; b=aCrUf4RWEJH0ixSZnVHxOOc0JCDIt9CZA/8UnmWBIGeal717iaUDUxyAd1oTBKHSjm I90G8U4eNjNfaxgpem9E6qd3Ilhw7lT5HHmh7QXgIZElKmuZT2cUN58EVtAMg+e05H18 zL0Vfsi5DKPqUg9xubcqyHXwnWHjvIr3KhQF2p3Xsc2IjJE0bWZwM6fS2XaZXL3wuSjm lVOErEV6PvUGfxPl7EDJqJ5fVOCV1VJU5RQvLr6Nzt9PAGjO2WQjohO+gwesTgieDWQ0 kdJvWv0m6ojYmIxQyEo+/2a8Z9SNrPLD7mARQHtZJOPv5h/t1P3TMYf3qu8CpyVvT9kd gNEg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="hs/4ojc0"; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1699699367; x=1700304167; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=TwOupDUvsrscBLkvpqJGSzll8pnT5of+cE5m/PBRxPU=; b=eCRkT6EMzi7QInG2kJJdWT9N9J40iZzrTMo0IKSnJUjGEMCphgQhPMJc6/CsKUggA4 qjkTEeQjjvW7oCGdH/wSePDBpT4XIEk4qsIkZUxZyuWBeQlYLQM+7O2af8n54pUysaMn uFzwhtjP9dHeR2FZRd+z+hN3ftCtsDO/st9vw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699699367; x=1700304167; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=TwOupDUvsrscBLkvpqJGSzll8pnT5of+cE5m/PBRxPU=; b=fYlbBhuBhq4bbWkKO/rkbiRMo9oDnGATN0qLmjl+UEFH3OCy/9X+tVu1wS5aWlRVhl 4jXZ9d1A3QaNGR/bFNlO0TFJbHK7MN1DhrTxS/gJpDXZBDHC8y0A7tRVuXYR42Ubd0l4 Mvi1B2gwfHTzw9p9KQqBk9oef0fI2bi2fyBIzBimxF09nQ6Fqg1lzyt7gvYnxAIpRjit 8zn5053kTK0xQxaqt7fwMmoJueHMNZuuasHDp60OHp4Q2U7C5S/PTkoWA7TDnPdy2QPk vZFKqx1wplh170ctHS30fz/AxkCCtIi9H5jZLLY8xWPbuw8dke6wUBKxbmGmy1knsnLe hWjA== X-Gm-Message-State: AOJu0YzeYyqQIBpayFubdGyM3OalnisRMs+4cAzD+dkjeK3KXsYHmYfQ 2Rp4VdOFJ1m4NCvHFP8XIEoEdIGY X-Google-Smtp-Source: AGHT+IFkhEi8FPCWfyeHSRNZOctRkvjDfz06GnpEtmU4qWB/a3ERJwW9Alyl5zrD/bi5JJ0GJDCYmQ== X-Received: by 2002:a50:d4c7:0:b0:543:5dd9:a72 with SMTP id e7-20020a50d4c7000000b005435dd90a72mr1609562edj.1.1699699367346; Sat, 11 Nov 2023 02:42:47 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:c4e:b0:547:2571:d5ae with SMTP id cs14-20020a0564020c4e00b005472571d5aels6223edb.1.-pod-prod-00-eu; Sat, 11 Nov 2023 02:42:46 -0800 (PST) X-Received: by 2002:a17:907:7e96:b0:9b2:be2f:e31a with SMTP id qb22-20020a1709077e9600b009b2be2fe31amr2072459ejc.31.1699699365827; Sat, 11 Nov 2023 02:42:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699699365; cv=none; d=google.com; s=arc-20160816; b=ib6eHTwv3G7wZxPa1GzW3kIaeLxc1Rl5SmdC1/Ke4lt6Lol8d3mwbwJ5VBjCQ629wr nc7kFurOm85vL819zcTGaUAUqxkIOyfYUJI9b6r3CaFMgLFyJ2EdoNsF9Fxhs4WtUzG0 DAdcXnjs02gwWSrG0XtI+AncKWzmiP1z8ufx/gG5blODMAJk95Kv/fFK0NkaEr/URIPZ xPlY0VfoNpXWJcRqdS6vrGrgfRX2ZfDJzf2XlYlG/8FAUjC6JPk+r9w2R5MRgDCt3eyw NjYGek/f2ekd5poLoU/v+cEUDKIR65wcOK5HKpk3mgHFWMEwM3ElFDeZPOCzowfkMDoK 25cA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=IDgHYbXQcqXOi8pgjjCFs89msy5Cd5Tn06zlqflQDL0=; fh=CRQFspQ+XVmz3jTpDmawxjgq3paXQGVEDP+3Wpr+FXU=; b=JWsnHxCc9JRgZFzs96FzDHhXhvc3IJdp/40P4IJHl4dSCUZLKNZKmzVwBODCtM6+Us U154aH+5Nj+KQMNozf1lkUZuFlHtyRErasU+tsb4e70Xq8Lx8NY45J6Zj7U77m0NTfdW uQ9rq0zkEJozyodoRXjjDNzEnRztJtECW38ZLOeOW1nP0jec2ovbErUzaLq8cZtfJeuM 9oHLZ+7m5gHh0VR0i7DxUvvM64oe6w8YEMbcssBzccXfOst66/wflZIG5KkgKWYH3DCC 0BQF4YijcITlWKy+b+EMq5/ECDu0ytpm+Y+maXg3MWol7MUUw6MB8nnbO+cZ/hTA7qyR beuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="hs/4ojc0"; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id qw35-20020a1709066a2300b009ae66306542sor268975ejc.9.2023.11.11.02.42.45 for (Google Transport Security); Sat, 11 Nov 2023 02:42:45 -0800 (PST) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; 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-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="hs/4ojc0"; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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));