Linux kernel staging patches
 help / color / mirror / Atom feed
* [PATCH 1/2] staging: vme_user: vme_tsi148.C: remove redundant newlines
@ 2024-07-29 13:02 Griffin Kroah-Hartman
  2024-07-29 13:02 ` [PATCH 2/2] staging: vme_user: vme_tsi148.c: Change Formatting Griffin Kroah-Hartman
  0 siblings, 1 reply; 2+ messages in thread
From: Griffin Kroah-Hartman @ 2024-07-29 13:02 UTC (permalink / raw)
  To: gregkh; +Cc: linux-kernel, linux-staging, Griffin Kroah-Hartman

Adhere to Linux kernel coding style.

Reported by checkpatch:

CHECK: Alignment should match open parenthesis

Signed-off-by: Griffin Kroah-Hartman <griffin@kroah.com>
---
 drivers/staging/vme_user/vme_tsi148.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/vme_user/vme_tsi148.c b/drivers/staging/vme_user/vme_tsi148.c
index 9066c53150ec..9b1e9fd9ff20 100644
--- a/drivers/staging/vme_user/vme_tsi148.c
+++ b/drivers/staging/vme_user/vme_tsi148.c
@@ -2505,8 +2505,7 @@ static int tsi148_probe(struct pci_dev *pdev, const struct pci_device_id *id)
 err_master:
 	/* resources are stored in link list */
 	list_for_each_safe(pos, n, &tsi148_bridge->master_resources) {
-		master_image = list_entry(pos, struct vme_master_resource,
-			list);
+		master_image = list_entry(pos, struct vme_master_resource, list);
 		list_del(pos);
 		kfree(master_image);
 	}
@@ -2603,8 +2602,7 @@ static void tsi148_remove(struct pci_dev *pdev)
 
 	/* resources are stored in link list */
 	list_for_each_safe(pos, tmplist, &tsi148_bridge->master_resources) {
-		master_image = list_entry(pos, struct vme_master_resource,
-			list);
+		master_image = list_entry(pos, struct vme_master_resource, list);
 		list_del(pos);
 		kfree(master_image);
 	}
-- 
2.45.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-29 13:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-29 13:02 [PATCH 1/2] staging: vme_user: vme_tsi148.C: remove redundant newlines Griffin Kroah-Hartman
2024-07-29 13:02 ` [PATCH 2/2] staging: vme_user: vme_tsi148.c: Change Formatting Griffin Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox