From nobody Thu Dec 18 06:14:18 2025 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 8CC8FC83F13 for ; Sun, 27 Aug 2023 19:34:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229956AbjH0Tdh (ORCPT ); Sun, 27 Aug 2023 15:33:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230014AbjH0Td0 (ORCPT ); Sun, 27 Aug 2023 15:33:26 -0400 Received: from mail-ot1-x329.google.com (mail-ot1-x329.google.com [IPv6:2607:f8b0:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7FFA5130 for ; Sun, 27 Aug 2023 12:33:23 -0700 (PDT) Received: by mail-ot1-x329.google.com with SMTP id 46e09a7af769-6bdc27e00a1so2049238a34.3 for ; Sun, 27 Aug 2023 12:33:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693164802; x=1693769602; 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=z9H2w3sipUZvxDTjX+nw9m5xGTNAIR1eJebJktROgBs=; b=WRtC/TgPndqjS0ZdQhgth38KJvwUa9qZuDIhMtHVAJDk7/kLSLry8QYGEdV4TnFd0j hDZ/IkQ0VjBHpjSIIGWUxTDLhG46FgCXa0LCrv2LATNXoKoyvko68gjQCY5M1/37qbnn q1Be6X640jApdK6ogZ4BBAh6p93Stc5eyIQoczHokxVZhtQhuRWwmHs65RjKj44NvyPv WcZkM9JRioEdbBvk+JhQiHiTJ4xVIFxMzKoixf2qDjDPIJ5Fqlo017QhPSteylNYBcJq EBJtewjn0kgXVxU0mMBl5PchHTByOVGQL/hFdenejWG8eBP6w6sHTrQfTKvjyljmde66 h6ZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693164802; x=1693769602; 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=z9H2w3sipUZvxDTjX+nw9m5xGTNAIR1eJebJktROgBs=; b=hEURZUanip5NUJ8aIziedW9sB5MaG56mXBhvSWP8faw4dxFoOIefeQTNnspWBBL90X lpqrlkaH8DE9VkRDCVYZ5pitxu7Z44fuqi34cmi5RsZ6BbUfC6lxOcm33RHYD6yCqfW3 1O/rZXoA2gp9ur6wpklSORRxusNx9nezKDlaQDkziwu5RSTzoxbcZ2NThQMM5T4axwMA 8bPJJEOCFZFHKx2LlUTnEBjr+zSsyDjJTGb7M6TTrjVtsuG464eODm5m71UTe15cIOH9 t3XYvupAbe5OUy4IKhOb68hhPNkUhR9tT8hIal4pRuvkmccML5H51UwIjC8+migUngQB KF/w== X-Gm-Message-State: AOJu0YzzBYpprRplS/PEwNUJ8huZV6bm9zxN+ycgo0d/pnVaEmV85LZ7 VLax+rMC05ePyvTMEcVZiuI= X-Google-Smtp-Source: AGHT+IFCHK0aCBaKZX56HE0dVaojp0Wa33UZ/+gATPFI0QfSo76215wVkVop+rC4u0hYC86Ix61CJg== X-Received: by 2002:a05:6830:1d83:b0:6bc:952a:1032 with SMTP id y3-20020a0568301d8300b006bc952a1032mr12097268oti.14.1693164802576; Sun, 27 Aug 2023 12:33:22 -0700 (PDT) Received: from alolivei-thinkpadt480s.gru.csb ([2804:14c:bf20:82ea:8c7c:b784:3f92:988a]) by smtp.gmail.com with ESMTPSA id l8-20020a9d7348000000b006b96384ba1csm1640272otk.77.2023.08.27.12.33.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Aug 2023 12:33:22 -0700 (PDT) From: Alexon Oliveira To: gregkh@linuxfoundation.org Cc: martyn@welchs.me.uk, manohar.vanga@gmail.com, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, Alexon Oliveira Subject: [PATCH v4 1/4] staging: vme_user: fix check alignment of open parenthesis in vme_fake.c Date: Sun, 27 Aug 2023 16:32:50 -0300 Message-ID: <639fc19f5c5bce6557a813728b28c299c5134ecf.1693164540.git.alexondunkan@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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 all CHECK: Alignment should match open parenthesis as reported by checkpatch to adhere to the Linux kernel coding-style guidelines. Signed-off-by: Alexon Oliveira --- Changes in v2: - Fixed summary phrase with tags to indicate commit order in the patch series, noted by Greg KH Changes in v3: - Sent patch series in a single email thread, noted by Nam Cao Changes in v4: - Versioning the patch series with the forgotten information about the changes in the previous versions, noted by Greg KH drivers/staging/vme_user/vme_fake.c | 65 +++++++++++++++-------------- 1 file changed, 33 insertions(+), 32 deletions(-) diff --git a/drivers/staging/vme_user/vme_fake.c b/drivers/staging/vme_user= /vme_fake.c index 7c53a8a7b79b..a88d2c8a785b 100644 --- a/drivers/staging/vme_user/vme_fake.c +++ b/drivers/staging/vme_user/vme_fake.c @@ -105,7 +105,7 @@ static void fake_VIRQ_tasklet(unsigned long data) * Configure VME interrupt */ static void fake_irq_set(struct vme_bridge *fake_bridge, int level, - int state, int sync) + int state, int sync) { /* Nothing to do */ } @@ -125,7 +125,7 @@ static dma_addr_t fake_ptr_to_pci(void *addr) * interrupt to be acked. */ static int fake_irq_generate(struct vme_bridge *fake_bridge, int level, - int statid) + int statid) { struct fake_driver *bridge; =20 @@ -152,8 +152,8 @@ static int fake_irq_generate(struct vme_bridge *fake_br= idge, int level, * Initialize a slave window with the requested attributes. */ static int fake_slave_set(struct vme_slave_resource *image, int enabled, - unsigned long long vme_base, unsigned long long size, - dma_addr_t buf_base, u32 aspace, u32 cycle) + unsigned long long vme_base, unsigned long long size, + dma_addr_t buf_base, u32 aspace, u32 cycle) { unsigned int i, granularity =3D 0; unsigned long long vme_bound; @@ -221,8 +221,8 @@ static int fake_slave_set(struct vme_slave_resource *im= age, int enabled, * Get slave window configuration. */ static int fake_slave_get(struct vme_slave_resource *image, int *enabled, - unsigned long long *vme_base, unsigned long long *size, - dma_addr_t *buf_base, u32 *aspace, u32 *cycle) + unsigned long long *vme_base, unsigned long long *size, + dma_addr_t *buf_base, u32 *aspace, u32 *cycle) { unsigned int i; struct fake_driver *bridge; @@ -249,8 +249,8 @@ static int fake_slave_get(struct vme_slave_resource *im= age, int *enabled, * Set the attributes of an outbound window. */ static int fake_master_set(struct vme_master_resource *image, int enabled, - unsigned long long vme_base, unsigned long long size, - u32 aspace, u32 cycle, u32 dwidth) + unsigned long long vme_base, unsigned long long size, + u32 aspace, u32 cycle, u32 dwidth) { int retval =3D 0; unsigned int i; @@ -335,8 +335,8 @@ static int fake_master_set(struct vme_master_resource *= image, int enabled, * Set the attributes of an outbound window. */ static int __fake_master_get(struct vme_master_resource *image, int *enabl= ed, - unsigned long long *vme_base, unsigned long long *size, - u32 *aspace, u32 *cycle, u32 *dwidth) + unsigned long long *vme_base, unsigned long long *size, + u32 *aspace, u32 *cycle, u32 *dwidth) { unsigned int i; struct fake_driver *bridge; @@ -356,15 +356,15 @@ static int __fake_master_get(struct vme_master_resour= ce *image, int *enabled, } =20 static int fake_master_get(struct vme_master_resource *image, int *enabled, - unsigned long long *vme_base, unsigned long long *size, - u32 *aspace, u32 *cycle, u32 *dwidth) + unsigned long long *vme_base, unsigned long long *size, + u32 *aspace, u32 *cycle, u32 *dwidth) { int retval; =20 spin_lock(&image->lock); =20 retval =3D __fake_master_get(image, enabled, vme_base, size, aspace, - cycle, dwidth); + cycle, dwidth); =20 spin_unlock(&image->lock); =20 @@ -511,7 +511,7 @@ static noinline_for_stack u32 fake_vmeread32(struct fak= e_driver *bridge, } =20 static ssize_t fake_master_read(struct vme_master_resource *image, void *b= uf, - size_t count, loff_t offset) + size_t count, loff_t offset) { int retval; u32 aspace, cycle, dwidth; @@ -700,7 +700,7 @@ static noinline_for_stack void fake_vmewrite32(struct f= ake_driver *bridge, } =20 static ssize_t fake_master_write(struct vme_master_resource *image, void *= buf, - size_t count, loff_t offset) + size_t count, loff_t offset) { int retval =3D 0; u32 aspace, cycle, dwidth; @@ -739,7 +739,7 @@ static ssize_t fake_master_write(struct vme_master_reso= urce *image, void *buf, if ((addr + done) & 0x2) { if ((count - done) < 2) { fake_vmewrite8(bridge, (u8 *)(buf + done), - addr + done, aspace, cycle); + addr + done, aspace, cycle); done +=3D 1; goto out; } else { @@ -768,7 +768,7 @@ static ssize_t fake_master_write(struct vme_master_reso= urce *image, void *buf, count32 =3D (count - done); while (done < count32) { fake_vmewrite8(bridge, (u8 *)(buf + done), addr + done, - aspace, cycle); + aspace, cycle); done +=3D 1; } =20 @@ -784,7 +784,7 @@ static ssize_t fake_master_write(struct vme_master_reso= urce *image, void *buf, =20 if ((count - done) & 0x1) { fake_vmewrite8(bridge, (u8 *)(buf + done), addr + done, aspace, - cycle); + cycle); done +=3D 1; } =20 @@ -802,8 +802,8 @@ static ssize_t fake_master_write(struct vme_master_reso= urce *image, void *buf, * Requires a previously configured master window, returns final value. */ static unsigned int fake_master_rmw(struct vme_master_resource *image, - unsigned int mask, unsigned int compare, unsigned int swap, - loff_t offset) + unsigned int mask, unsigned int compare, + unsigned int swap, loff_t offset) { u32 tmp, base; u32 aspace, cycle; @@ -848,7 +848,7 @@ static unsigned int fake_master_rmw(struct vme_master_r= esource *image, * callback is attached and disabled when the last callback is removed. */ static int fake_lm_set(struct vme_lm_resource *lm, unsigned long long lm_b= ase, - u32 aspace, u32 cycle) + u32 aspace, u32 cycle) { int i; struct vme_bridge *fake_bridge; @@ -894,7 +894,8 @@ static int fake_lm_set(struct vme_lm_resource *lm, unsi= gned long long lm_base, * or disabled. */ static int fake_lm_get(struct vme_lm_resource *lm, - unsigned long long *lm_base, u32 *aspace, u32 *cycle) + unsigned long long *lm_base, + u32 *aspace, u32 *cycle) { struct fake_driver *bridge; =20 @@ -917,7 +918,7 @@ static int fake_lm_get(struct vme_lm_resource *lm, * Callback will be passed the monitor triggered. */ static int fake_lm_attach(struct vme_lm_resource *lm, int monitor, - void (*callback)(void *), void *data) + void (*callback)(void *), void *data) { struct vme_bridge *fake_bridge; struct fake_driver *bridge; @@ -995,7 +996,7 @@ static int fake_slot_get(struct vme_bridge *fake_bridge) } =20 static void *fake_alloc_consistent(struct device *parent, size_t size, - dma_addr_t *dma) + dma_addr_t *dma) { void *alloc =3D kmalloc(size, GFP_KERNEL); =20 @@ -1006,7 +1007,7 @@ static void *fake_alloc_consistent(struct device *par= ent, size_t size, } =20 static void fake_free_consistent(struct device *parent, size_t size, - void *vaddr, dma_addr_t dma) + void *vaddr, dma_addr_t dma) { kfree(vaddr); /* @@ -1094,7 +1095,7 @@ static int __init fake_init(void) mutex_init(&fake_device->vme_int); mutex_init(&fake_bridge->irq_mtx); tasklet_init(&fake_device->int_tasklet, fake_VIRQ_tasklet, - (unsigned long) fake_bridge); + (unsigned long) fake_bridge); =20 strcpy(fake_bridge->name, driver_name); =20 @@ -1118,10 +1119,10 @@ static int __init fake_init(void) VME_PROG | VME_DATA; master_image->width_attr =3D VME_D16 | VME_D32; memset(&master_image->bus_resource, 0, - sizeof(struct resource)); + sizeof(struct resource)); master_image->kern_base =3D NULL; list_add_tail(&master_image->list, - &fake_bridge->master_resources); + &fake_bridge->master_resources); } =20 /* Add slave windows to list */ @@ -1144,7 +1145,7 @@ static int __init fake_init(void) VME_2eSST267 | VME_2eSST320 | VME_SUPER | VME_USER | VME_PROG | VME_DATA; list_add_tail(&slave_image->list, - &fake_bridge->slave_resources); + &fake_bridge->slave_resources); } =20 /* Add location monitor to list */ @@ -1179,7 +1180,7 @@ static int __init fake_init(void) fake_bridge->free_consistent =3D fake_free_consistent; =20 pr_info("Board is%s the VME system controller\n", - (geoid =3D=3D 1) ? "" : " not"); + (geoid =3D=3D 1) ? "" : " not"); =20 pr_info("VME geographical address is set to %d\n", geoid); =20 @@ -1220,7 +1221,7 @@ static int __init fake_init(void) /* resources are stored in link list */ list_for_each_safe(pos, n, &fake_bridge->master_resources) { master_image =3D list_entry(pos, struct vme_master_resource, - list); + list); list_del(pos); kfree(master_image); } @@ -1275,7 +1276,7 @@ static void __exit fake_exit(void) /* resources are stored in link list */ list_for_each_safe(pos, tmplist, &fake_bridge->master_resources) { master_image =3D list_entry(pos, struct vme_master_resource, - list); + list); list_del(pos); kfree(master_image); } --=20 2.41.0 From nobody Thu Dec 18 06:14:18 2025 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 156BFC83F10 for ; Sun, 27 Aug 2023 19:34:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229999AbjH0TeJ (ORCPT ); Sun, 27 Aug 2023 15:34:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229963AbjH0Tdn (ORCPT ); Sun, 27 Aug 2023 15:33:43 -0400 Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EF48C6 for ; Sun, 27 Aug 2023 12:33:41 -0700 (PDT) Received: by mail-ot1-x32d.google.com with SMTP id 46e09a7af769-6bcb5df95c5so1987604a34.1 for ; Sun, 27 Aug 2023 12:33:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693164820; x=1693769620; 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=/20+iwj0/ojxdHziUbJdhTIbwFYLS/pRXm/vh5r0p/M=; b=n7gDIZcHScRkiLo3acl/wrvq5YfwwrGwTqxZoKkB2Uy3HMqT5EdyV9+tkFDXiyL7Jd Xb3dARxo8dEgLMuZhXh0C9KhIGwwreQm0s6dfnx71yZChDFd6gUekr9sa4DnQ7cR+tdF YmKBsN+pCwG8stSsUJkJQY4g3Aidp3FyuLFZUqix1dE81emRFVynlyadP2P/85BM/dlS aJULY4Yyd6/61cScYiVsNoMlQLjnxWmlmpjhbJw+NuSSl4DzweaoJka8xlgVNSrhr2mh Epy0koj4mBuU3nU5NPq2j721jMpk6G29lxvoV5E0DDtr1oQOFGLBk2QiUmaWJ7x3Sqkm PbIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693164820; x=1693769620; 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=/20+iwj0/ojxdHziUbJdhTIbwFYLS/pRXm/vh5r0p/M=; b=Wh8ECopBxp8b6OS43ZSAm7u0A3Oe0gvoU6VUsUuluab16a4nadGM/BLJIuk7Y05qSP tDqDsvT7477STp3A0wh7rSidxGsf6ggL2dWmLcLEPMd4Fc7Fuw0i4qvSyjnLAIsSdM/T 6I8WWpr1xTeauFCzmPQEbEDHirKQc4vN6UJkT4K8rhJ7FIEjyWVQpvOYR/dW/19Gpy06 /r0p9yJuVUBPox2+xfZA5A6RlYeY/UiclU0Og1EC3aF+dJ/SGSZcpfRLOsEARLReBpQl VZ6/z1/IXfCleSxTPYur2sryuEx3CK5E47qmiepPZnQyZRK+I5aGJPdxJNFYQcTms0ZD vaqA== X-Gm-Message-State: AOJu0YwFxszxWcgfk5W50juJjr6ueeIfsSdlqL7zytzn9Ysb0ukFs1We sa3mG8qR39pTFj9yCmRdIUE= X-Google-Smtp-Source: AGHT+IEiVP+3qqTfR+XZhNVQz1/UXBZ50Tq6C9y/m451idHcVF1aaktlVYg5CAQZ8FkiodDkCjMARA== X-Received: by 2002:a05:6830:114e:b0:6b9:182b:cccc with SMTP id x14-20020a056830114e00b006b9182bccccmr11305146otq.33.1693164820405; Sun, 27 Aug 2023 12:33:40 -0700 (PDT) Received: from alolivei-thinkpadt480s.gru.csb ([2804:14c:bf20:82ea:8c7c:b784:3f92:988a]) by smtp.gmail.com with ESMTPSA id l8-20020a9d7348000000b006b96384ba1csm1640272otk.77.2023.08.27.12.33.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Aug 2023 12:33:40 -0700 (PDT) From: Alexon Oliveira To: gregkh@linuxfoundation.org Cc: martyn@welchs.me.uk, manohar.vanga@gmail.com, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, Alexon Oliveira Subject: [PATCH v4 2/4] staging: vme_user: fix check lines not ending with '(' in vme_fake.c Date: Sun, 27 Aug 2023 16:32:52 -0300 Message-ID: <9f3e2facdc4d5e612dc00830c2da0fb19c20f2c5.1693164540.git.alexondunkan@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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 all CHECK: Lines should not end with a '(' as reported by checkpatch to adhere to the Linux kernel coding-style guidelines. Signed-off-by: Alexon Oliveira --- Changes in v2: - Fixed summary phrase with tags to indicate commit order in the patch series, noted by Greg KH Changes in v3: - Sent patch series in a single email thread, noted by Nam Cao Changes in v4: - Versioning the patch series with the forgotten information about the changes in the previous versions, noted by Greg KH drivers/staging/vme_user/vme_fake.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/vme_user/vme_fake.c b/drivers/staging/vme_user= /vme_fake.c index a88d2c8a785b..dbaf050f88e5 100644 --- a/drivers/staging/vme_user/vme_fake.c +++ b/drivers/staging/vme_user/vme_fake.c @@ -403,8 +403,7 @@ static void fake_lm_check(struct fake_driver *bridge, u= nsigned long long addr, if (((lm_base + (8 * i)) <=3D addr) && ((lm_base + (8 * i) + 8) > addr)) { if (bridge->lm_callback[i]) - bridge->lm_callback[i]( - bridge->lm_data[i]); + bridge->lm_callback[i](bridge->lm_data[i]); } } } --=20 2.41.0 From nobody Thu Dec 18 06:14:18 2025 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 25C16C83F11 for ; Sun, 27 Aug 2023 19:34:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230031AbjH0TeK (ORCPT ); Sun, 27 Aug 2023 15:34:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229987AbjH0TeA (ORCPT ); Sun, 27 Aug 2023 15:34:00 -0400 Received: from mail-ot1-x32a.google.com (mail-ot1-x32a.google.com [IPv6:2607:f8b0:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29E21C6 for ; Sun, 27 Aug 2023 12:33:57 -0700 (PDT) Received: by mail-ot1-x32a.google.com with SMTP id 46e09a7af769-6bd0a0a675dso2046427a34.2 for ; Sun, 27 Aug 2023 12:33:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693164836; x=1693769636; 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=8owQxhS5E1ZOUbfMsVXpc+yZBo+YfqBQ9stCS1V4Rks=; b=bcmTitmpWn3IWkMlJ4Fk3NHl0O4WTAM+ApwKk04XiVShA81yMZQk+zbbI/7oEAcJTR 0N7d2sq0R0LjK0D3TPVdjzxKKXSMuHiyFA8C5jCF5qOVilxdM9dVzzEnnjtliNEasizd q96fCR/f0aZOiPwUWrPZZ4q9AzqjIGJzsjDPM/+08JupvpcGJUVDx+UQp7dx0q8dv7Lf tWO87AEtJ1Z7ZKOKzO4cB4u2sjygfBx3TO+bPPHTKHmDdtPmwZhf8GI0c+ikBHO7mQa9 WKPvtZ52j0AdmhqmiTzE0BN7TrP/eN1rpaaDB5TJzkOh+wyWU170kRgX/afaRUCFI7pc jRCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693164836; x=1693769636; 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=8owQxhS5E1ZOUbfMsVXpc+yZBo+YfqBQ9stCS1V4Rks=; b=iMv5JHk5i/rOjUwfzKmDe66hBvKDwooNtweL7G5W7s8n21S7NN4idm3Lx29hXSdQJu uEJglJz1e+PFojmPBbewkrodf7/qtZXW5NiJBo7TCgkdGrBm2hpKUTgh3Yef08bfamLl 2jK2jGnjIQLSlztcx8bRxIY9GKPs39nS3CcQ5Mwi4rtF1YkAe7wYm8hWpgoLamupSYTQ +eKrRTBkCa2pj2M8jtqYf2IXKxQ7lvyAsLmXY9v3qeecmHymsNQI1Faw/RpzD2Ww4noH O2Fd4niZDduYuHIH5RLip0sx4SG8Le0DOVWels8YtMW2rkWkP/r8aHPZQcJIFXCexXJl aE2A== X-Gm-Message-State: AOJu0YwQLWfjQPp2OYSBr71uDNBRx9IxoMQiV+X+//ibr9IDaaTI/ZQR R1+RxlsO1C++4Ay1nUM5d3U= X-Google-Smtp-Source: AGHT+IGwitpPpk9uf84c8V9vFO9dcSj7DyQ9HBaAP1ghSUC0m5PPfvHgEdrc+6o1Ayo982i2Fi7h0A== X-Received: by 2002:a9d:7f8e:0:b0:6b7:56f6:f846 with SMTP id t14-20020a9d7f8e000000b006b756f6f846mr12173664otp.5.1693164836484; Sun, 27 Aug 2023 12:33:56 -0700 (PDT) Received: from alolivei-thinkpadt480s.gru.csb ([2804:14c:bf20:82ea:8c7c:b784:3f92:988a]) by smtp.gmail.com with ESMTPSA id l8-20020a9d7348000000b006b96384ba1csm1640272otk.77.2023.08.27.12.33.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Aug 2023 12:33:56 -0700 (PDT) From: Alexon Oliveira To: gregkh@linuxfoundation.org Cc: martyn@welchs.me.uk, manohar.vanga@gmail.com, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, Alexon Oliveira Subject: [PATCH v4 3/4] staging: vme_user: fix check unnecessary blank lines in vme_fake.c Date: Sun, 27 Aug 2023 16:32:54 -0300 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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 all CHECK: Blank lines aren't necessary before a close brace '}' as reported by checkpatch to adhere to the Linux kernel coding-style guidelines. Signed-off-by: Alexon Oliveira --- Changes in v2: - Fixed summary phrase with tags to indicate commit order in the patch series, noted by Greg KH Changes in v3: - Sent patch series in a single email thread, noted by Nam Cao Changes in v4: - Versioning the patch series with the forgotten information about the changes in the previous versions, noted by Greg KH drivers/staging/vme_user/vme_fake.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/vme_user/vme_fake.c b/drivers/staging/vme_user= /vme_fake.c index dbaf050f88e5..4258ed6033e7 100644 --- a/drivers/staging/vme_user/vme_fake.c +++ b/drivers/staging/vme_user/vme_fake.c @@ -584,7 +584,6 @@ static ssize_t fake_master_read(struct vme_master_resou= rce *image, void *buf, aspace, cycle); done +=3D 1; } - } =20 if ((dwidth =3D=3D VME_D16) || (dwidth =3D=3D VME_D32)) { @@ -770,7 +769,6 @@ static ssize_t fake_master_write(struct vme_master_reso= urce *image, void *buf, aspace, cycle); done +=3D 1; } - } =20 if ((dwidth =3D=3D VME_D16) || (dwidth =3D=3D VME_D32)) { --=20 2.41.0 From nobody Thu Dec 18 06:14:18 2025 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 82D1AC83F13 for ; Sun, 27 Aug 2023 19:34:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230045AbjH0TeL (ORCPT ); Sun, 27 Aug 2023 15:34:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229993AbjH0TeE (ORCPT ); Sun, 27 Aug 2023 15:34:04 -0400 Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DA98C6 for ; Sun, 27 Aug 2023 12:34:02 -0700 (PDT) Received: by mail-ot1-x32d.google.com with SMTP id 46e09a7af769-6bcade59b24so1995307a34.0 for ; Sun, 27 Aug 2023 12:34:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693164842; x=1693769642; 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=HfuobNFZiIqUm1JZsSbHScwqD8twWVWxz8M0FngOBaU=; b=W6NguLYdal3s4o4UZi28iQ9mrJ62+WJTdtaZbaZ3UUf6GaxfwmPvKNzF0RUDxKhgfJ JO/3y11wS8z1VjCTiAnZd8/ppM+OPPXWLzKi7zv3wxQAhG8rveMpuAQs6ccRFl6jsZvA R6C9xlGCbpkD/Uslb4IYlsBma08JrXcdauwuqAuP/s1HFxT5UAJuD2RnzAsOd4pGOqhY y+KHDPZo4uVuJBkBB3dmnX78w1ucxoqZaN1m1NXp25CXZSN8wQfZ51sVl4mi7hrMUjXL uaNOpYaZNQ3J6sD+SXA5Z2GKvd2s3sMCvOc5NH2pe0Tx1qyVGRGC64xNHVXDGbU1rrcX QJqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693164842; x=1693769642; 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=HfuobNFZiIqUm1JZsSbHScwqD8twWVWxz8M0FngOBaU=; b=GgL87f789CJ9YQJFBauPbVMoIe7faRNejQjcVNkhocH0CgSVbTxJkT7BPYFDhE7pEk OMtT/Pk2T7KqHIi278tTBbLHy96nDm55rTe9OKp+1r21v1NOlFwQfxrKvQzY/kjXRQOJ GVFDNOh27FRJv6WREEILR63MdI6RgRxt3CVmXOgRHqCbcgti99d0C5oLjuAmrKgWxIiM pf1gSmY5Nsz8sPMfMz68eI409D1GRoNyOyZsX2LwO6kEI8CezfHZKTzh9GQASpqQeqaS t14K+qElDlpdcf0ol02CCG4jiniQ9FKcYw3u7j8znNsGFPKuTnFPlN0TdxyiCeUwryJP CsuA== X-Gm-Message-State: AOJu0YxMnl7x1t20QtC9HL+i8eZDVXIqGjwcG2RTYJiHs2u7au5lUc3t gYI9VNnj3sOy4N4JC+XTrpI= X-Google-Smtp-Source: AGHT+IFF4sh2E0Dky2o8LohJbQLJcVgHVTEO1rtPT6IhI606JqnU5iu2NedcasdSsl1mHsQvibQqHw== X-Received: by 2002:a05:6830:45b:b0:6bd:bba9:2d63 with SMTP id d27-20020a056830045b00b006bdbba92d63mr12999917otc.9.1693164841915; Sun, 27 Aug 2023 12:34:01 -0700 (PDT) Received: from alolivei-thinkpadt480s.gru.csb ([2804:14c:bf20:82ea:8c7c:b784:3f92:988a]) by smtp.gmail.com with ESMTPSA id l8-20020a9d7348000000b006b96384ba1csm1640272otk.77.2023.08.27.12.33.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Aug 2023 12:34:01 -0700 (PDT) From: Alexon Oliveira To: gregkh@linuxfoundation.org Cc: martyn@welchs.me.uk, manohar.vanga@gmail.com, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, Alexon Oliveira Subject: [PATCH v4 4/4] staging: vme_user: fix check unnecessary space after a cast in vme_fake.c Date: Sun, 27 Aug 2023 16:32:55 -0300 Message-ID: <603976b29ad4d9a0e4cbd8452ff674ec70a227a8.1693164540.git.alexondunkan@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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 all CHECK: No space is necessary after a cast as reported by checkpatch to adhere to the Linux kernel coding-style guidelines. Signed-off-by: Alexon Oliveira --- Changes in v2: - Fixed summary phrase with tags to indicate commit order in the patch series, noted by Greg KH Changes in v3: - Sent patch series in a single email thread, noted by Nam Cao Changes in v4: - Versioning the patch series with the forgotten information about the changes in the previous versions, noted by Greg KH drivers/staging/vme_user/vme_fake.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/vme_user/vme_fake.c b/drivers/staging/vme_user= /vme_fake.c index 4258ed6033e7..4ccb16dd0d0b 100644 --- a/drivers/staging/vme_user/vme_fake.c +++ b/drivers/staging/vme_user/vme_fake.c @@ -95,7 +95,7 @@ static void fake_VIRQ_tasklet(unsigned long data) struct vme_bridge *fake_bridge; struct fake_driver *bridge; =20 - fake_bridge =3D (struct vme_bridge *) data; + fake_bridge =3D (struct vme_bridge *)data; bridge =3D fake_bridge->driver_priv; =20 vme_irq_handler(fake_bridge, bridge->int_level, bridge->int_statid); @@ -1092,7 +1092,7 @@ static int __init fake_init(void) mutex_init(&fake_device->vme_int); mutex_init(&fake_bridge->irq_mtx); tasklet_init(&fake_device->int_tasklet, fake_VIRQ_tasklet, - (unsigned long) fake_bridge); + (unsigned long)fake_bridge); =20 strcpy(fake_bridge->name, driver_name); =20 --=20 2.41.0