Staging: removed trailing whitespace in dgnc
PATCH 1/1 Staging: removed trailing whitespace in dgnc
Removed all trailing whitespace in
"drivers/staging/dgnc/dgnc_sysfs.c"
Signed-off-by Yeliz Taneroglu <[email protected]>
--- drivers/staging/dgnc/dgnc_sysfs.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/staging/dgnc/dgnc_sysfs.c +2 -4
@@ -125,9 +125,8 @@ void dgnc_create_driver_sysfiles(struct pci_driver *dgnc_driver) rc |=driver_create_file (driverfs, &driver_attr_debug); rc |=driver_create_file (driverfs, &driver_attr_rawreadok); rc |=driver_create_file (driverfs, &driver_attr_pollrate); -if (rc) { +if (rc)printk (KERN_ERR "DGNC: sysfs driver_create_file failed!\n" ); - } }
@@ -397,9 +396,8 @@ void dgnc_create_ports_sysfiles(struct dgnc_board *bd) rc |=device_create_file (&(bd->pdev->dev), &dev_attr_ports_txcount); rc |=device_create_file (&(bd->pdev->dev), &dev_attr_vpd); rc |=device_create_file (&(bd->pdev->dev), &dev_attr_serial_number); -if (rc) { +if (rc)printk (KERN_ERR "DGNC: sysfs device_create_file failed!\n" ); - } }
Signature · 1 line
1.8.3.2
Quoted 2 lines · Yeliz Taneroglu
Removed all trailing whitespace in
"drivers/staging/dgnc/dgnc_sysfs.c"
You removed braces. If that is all you did, you should change the subject and the commit message. It you removed the braces and removed trailing whitespace, then add about the braces in the commit message.
julia
Quoted 41 lines
Signed-off-by Yeliz Taneroglu <[email protected]>--- drivers/staging/dgnc/dgnc_sysfs.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)drivers/staging/dgnc/dgnc_sysfs.c +2
-4@@ -125,9 +125,8 @@ void dgnc_create_driver_sysfiles(struct pci_driver *dgnc_driver) rc |=driver_create_file (driverfs, &driver_attr_debug); rc |=driver_create_file (driverfs, &driver_attr_rawreadok); rc |=driver_create_file (driverfs, &driver_attr_pollrate); -if (rc) { +if (rc)printk (KERN_ERR "DGNC: sysfs driver_create_file failed!\n" ); - } }@@ -397,9 +396,8 @@ void dgnc_create_ports_sysfiles(struct dgnc_board *bd) rc |=device_create_file (&(bd->pdev->dev), &dev_attr_ports_txcount); rc |=device_create_file (&(bd->pdev->dev), &dev_attr_vpd); rc |=device_create_file (&(bd->pdev->dev), &dev_attr_serial_number); -if (rc) { +if (rc)printk (KERN_ERR "DGNC: sysfs device_create_file failed!\n" ); - } }Signature · 8 lines
1.8.3.2 -- You received this message because you are subscribed to the Google Groups "outreachy-kernel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/1424551997-5909-1-git-send-email-yeliztaneroglu%40gmail.com. For more options, visit https://groups.google.com/d/optout.
Greg KH
maintainerQuoted 7 lines · Yeliz Taneroglu
Removed all trailing whitespace in
"drivers/staging/dgnc/dgnc_sysfs.c"Signed-off-by Yeliz Taneroglu <[email protected]>--- drivers/staging/dgnc/dgnc_sysfs.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
This patch fails to apply :(