From nobody Sat Feb 7 09:04:36 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7950CC71153 for ; Sun, 3 Sep 2023 20:37:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347806AbjICUh7 (ORCPT ); Sun, 3 Sep 2023 16:37:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231784AbjICUh6 (ORCPT ); Sun, 3 Sep 2023 16:37:58 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1FF7B7 for ; Sun, 3 Sep 2023 13:37:54 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-500b6456c7eso1482812e87.2 for ; Sun, 03 Sep 2023 13:37:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693773473; x=1694378273; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=YRWHlitn1Ups2JbBClPIKgACBM7YPOCJnPb5BobZAug=; b=JYTHjYYolgaZZR/n/exH+aZPo7ULYxNazzaVJX4h/Ztb6jow++aCWN63nTfYA6rFuE OWjeENiWv2N8qeR3aEI4wqdH73AKX5M0PxdBXj/+1G7bMhju4uaeVw2rjs06E0MBz6O1 dNXW3N/3EdE211fpm+9QYt0dHGTkt8GHiJO9nARMnH3NTlOXOpqWed5IzWldD+Elqgha QPiLStIFw6kt9H4fXvOAGNajWGsKHwAjVrtIaUaVUQPeNauNMjLkrPYFjLzqU9rBUJyR FsG9AQgcIFOR9UmSmqP4EpscPwiDS4P9BsxCCHtarwgt9qY9uDlrB4TXcQev8Si4YjfW kEWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693773473; x=1694378273; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=YRWHlitn1Ups2JbBClPIKgACBM7YPOCJnPb5BobZAug=; b=errxHU4lVZVSWCzZaUDPxJo245zm8n/bhgqh9gqQX4DpmsmphloxqFb/PU4EpmLbK1 aUcRmgOe9ZJv+s7EHnFDFMnV7uuTNf6HH6CBZEmptC+Y2Kyt9uZx/Oeel3HGTWam7u/+ s4TLQ/s36pdCkLo/N/kcHV9WCae9QGX5MNGMRo6n3slQvclNbYuWgTe6SQPOijxkz2uq gB4gOQZTP6QeDD2NN2PuzDq44N08QljQBwzdydFuGnFZSw7CupKED6onC/bk9xkNyutk qBTrBlGYAsw3LN2vX5kpGKj/kPJSKNEpDlToivD4doq5qFE45kc1Pgid32E0Mglm47zE jn5A== X-Gm-Message-State: AOJu0YwRgGLJfrnp8tbIM6crzUYymV57kHtMx/uoJifoQ/4vThPiv0/O 7DSa9nudE55TKHLEQkvld3g= X-Google-Smtp-Source: AGHT+IGD8wEARDJgDNwFxJ6lQ6C0QteLXJSc7MK7mq375SpywDKC20TpkGEDM/0NFoFVsnuhLSo7Eg== X-Received: by 2002:a05:6512:114d:b0:500:b88c:ea79 with SMTP id m13-20020a056512114d00b00500b88cea79mr6998294lfg.54.1693773472911; Sun, 03 Sep 2023 13:37:52 -0700 (PDT) Received: from HP-ENVY-Notebook.lan (81-229-94-10-no68.tbcn.telia.com. [81.229.94.10]) by smtp.googlemail.com with ESMTPSA id b7-20020ac25e87000000b0050096712dc0sm1399342lfq.222.2023.09.03.13.37.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Sep 2023 13:37:52 -0700 (PDT) From: Jonathan Bergh To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Jonathan Bergh Subject: [PATCH] staging: vme_user: Fix block comments where '*' on each line should be aligned Date: Sun, 3 Sep 2023 22:37:32 +0200 Message-Id: <20230903203732.585378-1-bergh.jonathan@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Fixed checkpatch warnings where lines with '*' in block comments should be aligned and were not as well as incorrect tab spacings at the start of comment lines. Also removed spurious newlines between define statements in define blocks Signed-off-by: Jonathan Bergh --- drivers/staging/vme_user/vme_tsi148.h | 144 +++++++++++++------------- 1 file changed, 70 insertions(+), 74 deletions(-) diff --git a/drivers/staging/vme_user/vme_tsi148.h b/drivers/staging/vme_us= er/vme_tsi148.h index 63f726e1811a..9748b7897527 100644 --- a/drivers/staging/vme_user/vme_tsi148.h +++ b/drivers/staging/vme_user/vme_tsi148.h @@ -96,13 +96,9 @@ struct tsi148_dma_entry { #define TSI148_PCFS_MISC0 0xC #define TSI148_PCFS_MBARL 0x10 #define TSI148_PCFS_MBARU 0x14 - #define TSI148_PCFS_SUBID 0x28 - #define TSI148_PCFS_CAPP 0x34 - #define TSI148_PCFS_MISC1 0x3C - #define TSI148_PCFS_XCAPP 0x40 #define TSI148_PCFS_XSTAT 0x44 =20 @@ -255,28 +251,28 @@ static const int TSI148_LCSR_VIACK[8] =3D { 0, TSI148= _LCSR_VIACK1, */ #define TSI148_LCSR_VMEFL 0x250 =20 - /* - * VME exception. - * offset 260 +/* + * VME exception. + * offset 260 */ #define TSI148_LCSR_VEAU 0x260 #define TSI148_LCSR_VEAL 0x264 #define TSI148_LCSR_VEAT 0x268 =20 - /* - * PCI error - * offset 270 - */ +/* + * PCI error + * offset 270 + */ #define TSI148_LCSR_EDPAU 0x270 #define TSI148_LCSR_EDPAL 0x274 #define TSI148_LCSR_EDPXA 0x278 #define TSI148_LCSR_EDPXS 0x27C #define TSI148_LCSR_EDPAT 0x280 =20 - /* - * Inbound Translations - * offset 300 - */ +/* + * Inbound Translations + * offset 300 + */ #define TSI148_LCSR_IT0_ITSAU 0x300 #define TSI148_LCSR_IT0_ITSAL 0x304 #define TSI148_LCSR_IT0_ITEAU 0x308 @@ -363,53 +359,53 @@ static const int TSI148_LCSR_IT[8] =3D { TSI148_LCSR_= IT0, TSI148_LCSR_IT1, #define TSI148_LCSR_OFFSET_ITOFL 0x14 #define TSI148_LCSR_OFFSET_ITAT 0x18 =20 - /* - * Inbound Translation GCSR - * offset 400 - */ +/* + * Inbound Translation GCSR + * offset 400 + */ #define TSI148_LCSR_GBAU 0x400 #define TSI148_LCSR_GBAL 0x404 #define TSI148_LCSR_GCSRAT 0x408 =20 - /* - * Inbound Translation CRG - * offset 40C - */ +/* + * Inbound Translation CRG + * offset 40C + */ #define TSI148_LCSR_CBAU 0x40C #define TSI148_LCSR_CBAL 0x410 #define TSI148_LCSR_CSRAT 0x414 =20 - /* - * Inbound Translation CR/CSR - * CRG - * offset 418 - */ +/* + * Inbound Translation CR/CSR + * CRG + * offset 418 + */ #define TSI148_LCSR_CROU 0x418 #define TSI148_LCSR_CROL 0x41C #define TSI148_LCSR_CRAT 0x420 =20 - /* - * Inbound Translation Location Monitor - * offset 424 - */ +/* + * Inbound Translation Location Monitor + * offset 424 + */ #define TSI148_LCSR_LMBAU 0x424 #define TSI148_LCSR_LMBAL 0x428 #define TSI148_LCSR_LMAT 0x42C =20 - /* - * VMEbus Interrupt Control. - * offset 430 - */ +/* + * VMEbus Interrupt Control. + * offset 430 + */ #define TSI148_LCSR_BCU 0x430 #define TSI148_LCSR_BCL 0x434 #define TSI148_LCSR_BPGTR 0x438 #define TSI148_LCSR_BPCTR 0x43C #define TSI148_LCSR_VICR 0x440 =20 - /* - * Local Bus Interrupt Control. - * offset 448 - */ +/* + * Local Bus Interrupt Control. + * offset 448 + */ #define TSI148_LCSR_INTEN 0x448 #define TSI148_LCSR_INTEO 0x44C #define TSI148_LCSR_INTS 0x450 @@ -417,10 +413,10 @@ static const int TSI148_LCSR_IT[8] =3D { TSI148_LCSR_= IT0, TSI148_LCSR_IT1, #define TSI148_LCSR_INTM1 0x458 #define TSI148_LCSR_INTM2 0x45C =20 - /* - * DMA Controllers - * offset 500 - */ +/* + * DMA Controllers + * offset 500 + */ #define TSI148_LCSR_DCTL0 0x500 #define TSI148_LCSR_DSTA0 0x504 #define TSI148_LCSR_DCSAU0 0x508 @@ -484,27 +480,27 @@ static const int TSI148_LCSR_DMA[TSI148_MAX_DMA] =3D = { TSI148_LCSR_DMA0, #define TSI148_LCSR_OFFSET_DCNT 0x40 #define TSI148_LCSR_OFFSET_DDBS 0x44 =20 - /* - * GCSR Register Group - */ +/* + * GCSR Register Group + */ =20 - /* - * GCSR CRG - * offset 00 600 - DEVI/VENI - * offset 04 604 - CTRL/GA/REVID - * offset 08 608 - Semaphore3/2/1/0 - * offset 0C 60C - Seamphore7/6/5/4 - */ +/* + * GCSR CRG + * offset 00 600 - DEVI/VENI + * offset 04 604 - CTRL/GA/REVID + * offset 08 608 - Semaphore3/2/1/0 + * offset 0C 60C - Seamphore7/6/5/4 + */ #define TSI148_GCSR_ID 0x600 #define TSI148_GCSR_CSR 0x604 #define TSI148_GCSR_SEMA0 0x608 #define TSI148_GCSR_SEMA1 0x60C =20 - /* - * Mail Box - * GCSR CRG - * offset 10 610 - Mailbox0 - */ +/* + * Mail Box + * GCSR CRG + * offset 10 610 - Mailbox0 + */ #define TSI148_GCSR_MBOX0 0x610 #define TSI148_GCSR_MBOX1 0x614 #define TSI148_GCSR_MBOX2 0x618 @@ -515,27 +511,27 @@ static const int TSI148_GCSR_MBOX[4] =3D { TSI148_GCS= R_MBOX0, TSI148_GCSR_MBOX2, TSI148_GCSR_MBOX3 }; =20 - /* - * CR/CSR - */ +/* + * CR/CSR + */ =20 - /* - * CR/CSR CRG - * offset 7FFF4 FF4 - CSRBCR - * offset 7FFF8 FF8 - CSRBSR - * offset 7FFFC FFC - CBAR - */ +/* + * CR/CSR CRG + * offset 7FFF4 FF4 - CSRBCR + * offset 7FFF8 FF8 - CSRBSR + * offset 7FFFC FFC - CBAR + */ #define TSI148_CSRBCR 0xFF4 #define TSI148_CSRBSR 0xFF8 #define TSI148_CBAR 0xFFC =20 - /* - * TSI148 Register Bit Definitions - */ +/* + * TSI148 Register Bit Definitions + */ =20 - /* - * PFCS Register Set - */ +/* + * PFCS Register Set + */ #define TSI148_PCFS_CMMD_SERR BIT(8) /* SERR_L out pin ssys err */ #define TSI148_PCFS_CMMD_PERR BIT(6) /* PERR_L out pin parity */ #define TSI148_PCFS_CMMD_MSTR BIT(2) /* PCI bus master */ --=20 2.34.1