Skip to content

Commit 560dbc4

Browse files
Ming Wangbjorn-helgaas
authored andcommitted
misc: pci_endpoint_test: Terminate statement with semicolon
Terminate the misc_device->fops assignment statement with a semicolon. Link: https://lore.kernel.org/r/1641632977-6588-1-git-send-email-wangming01@loongson.cn Fixes: 2c156ac ("misc: Add host side PCI driver for PCI test function device") Signed-off-by: Ming Wang <wangming01@loongson.cn> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
1 parent ccd3679 commit 560dbc4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/misc/pci_endpoint_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ static int pci_endpoint_test_probe(struct pci_dev *pdev,
865865
goto err_release_irq;
866866
}
867867
misc_device->parent = &pdev->dev;
868-
misc_device->fops = &pci_endpoint_test_fops,
868+
misc_device->fops = &pci_endpoint_test_fops;
869869

870870
err = misc_register(misc_device);
871871
if (err) {

0 commit comments

Comments
 (0)