From patchwork Sat Nov 11 10:41:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 13453054 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 89A33C4332F for ; Sat, 11 Nov 2023 10:43:30 +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=TTYDG7eDkTSPIt3m36Vz7D7tz5XI4GlV1W2hQvBK4Yw=; b=wKBKKWjfi3u8gH FM4/k3tgixu6nH+VS/yhwsL3J4oW48f4vdd5+A+7TJBzUjzPIfbDIEeYs851OYI8Kk5r6YqlyHwoR cVF8Hn15PYByaWzVkNi+jZphVFK9XbovFf9WjJACj9YcdmD7JV2sKklyc9/UNdqOQpM7qZSQ+ts6+ xuWrjMjv8f0TXx3L11jLI2SuSzX8ykXga8KUIcENLvt4z1jW7DGJC2f0DvcvnD5UCvGuJGjHkuR+x NavwGhKD64DSxRtEb/bb5/fOC+jzn/tuco4WEaZ8AfgiCtuutaqOK/Wx2erIAqsXEhh3gF7M0R1r8 GHWRJRLN1RAQ3DGAqiAw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r1lSB-00AMPs-1N; Sat, 11 Nov 2023 10:43:03 +0000 Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r1lRz-00AMFC-1i for linux-arm-kernel@lists.infradead.org; Sat, 11 Nov 2023 10:42:52 +0000 Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-9d0b4dfd60dso443405066b.1 for ; Sat, 11 Nov 2023 02:42:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1699699369; x=1700304169; 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=57XfclRA1DPTjEGTeta8gbvZTvGhPeSww56J1vwZoGA=; b=TELHNGCqkklQ7ZyWwqr3QujDHz/Yw5IYFRIf+ddDDVq1KXErZ5LJEKB/Dzk+/lZp7O xNZIxC+oP7MlA1+XfHXFWqz5ytFR0zsTq75avY4WZSUqxQmBSQw2zT4M0cBAsn52DPa/ FkyirWKlBejW2Nonpx7LT6wGeg/B18eRwXF4o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699699369; x=1700304169; 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=57XfclRA1DPTjEGTeta8gbvZTvGhPeSww56J1vwZoGA=; b=eaycn7hg5pg9ihAb4lyELdK6e7Pk3VWiydILxcesl1yMv0OO/LSkEXg8k8vuESkfko WjF1Ui34Ss+gbCOcOmj1SSQm+U/flEhUltMHK9dtIJrv1Qpt1BYkRh22bxd3Mrk7bwcl Pct9amn+jIPWJgjDOaXD5wo3be5HICckDudai4r5jkPbCGfeCIpUElE2N+hihigealSm stQIIolbDVQ1vnDqaTp60tmLk6S9eVxckW9vYQ5JlJbhkMxNPPznCOyc2APItYjNu3Tr GtS5AFcJZNiHlgLpadEn+6fQZi1mAmDVRTBQcsCq/V4ops8dZu5zuXiYTC6DUAEBZQ9r pbCQ== X-Gm-Message-State: AOJu0YxLmZaJmKf+AApRrIRRl1QVAdf8bkZs2pKAYMPBkVyVpQnGaYnG vGNTfE5Ms9NwpNvWss/P5xbMPg== X-Google-Smtp-Source: AGHT+IF51sz/9Eym2oiwu4zOU3bpJ1pg92NvUM3b8/mDpd88MUL1wczf210dAwnnzyMpQ5H7XMHxcg== X-Received: by 2002:a17:906:361a:b0:9dd:bd42:4ec2 with SMTP id q26-20020a170906361a00b009ddbd424ec2mr908050ejb.10.1699699369457; Sat, 11 Nov 2023 02:42:49 -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.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Nov 2023 02:42:49 -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 10/10] fbdev: imxfb: add '*/' on a separate line in block comment Date: Sat, 11 Nov 2023 11:41:59 +0100 Message-ID: <20231111104225.136512-11-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_024251_570500_470D322F X-CRM114-Status: GOOD ( 13.45 ) 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 Linux kernel coding style uses '*/' on a separate line at the end of multi line comments. Fix block comments by moving '*/' at the end of block comments on a separate line as reported by checkpatch: WARNING: Block comments use a trailing */ on a separate line Signed-off-by: Dario Binacchi --- drivers/video/fbdev/imxfb.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/video/fbdev/imxfb.c b/drivers/video/fbdev/imxfb.c index 8d6943f0bfca..a4dbc72f93c3 100644 --- a/drivers/video/fbdev/imxfb.c +++ b/drivers/video/fbdev/imxfb.c @@ -946,8 +946,10 @@ static int imxfb_probe(struct platform_device *pdev) if (ret) goto failed_init; - /* Calculate maximum bytes used per pixel. In most cases this should - * be the same as m->bpp/8 */ + /* + * Calculate maximum bytes used per pixel. In most cases this should + * be the same as m->bpp/8 + */ m = &fbi->mode[0]; bytes_per_pixel = (m->bpp + 7) / 8; for (i = 0; i < fbi->num_modes; i++, m++)