Re: [PATCH 3/6] sony-laptop: refactor model types

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



$ scripts/checkpatch.pl ~/Documents/sony3.patch
ERROR: "foo * bar" should be "foo *bar"
#66: FILE: drivers/misc/sony-laptop.c:1200:
+       struct sonypi_event *   events;

WARNING: line over 80 characters
#253: FILE: drivers/misc/sony-laptop.c:2380:
+               data_mask = inb_p(dev->cur_ioport->io1.minimum + dev->control->evport_offset);

WARNING: line over 80 characters
#257: FILE: drivers/misc/sony-laptop.c:2383:
+                       ev, data_mask, dev->cur_ioport->io1.minimum, dev->control->evport_offset);

WARNING: line over 80 characters
#284: FILE: drivers/misc/sony-laptop.c:2400:
+                                       dev->control->event_types[i].events[j].event;

ERROR: use tabs not spaces
#289: FILE: drivers/misc/sony-laptop.c:2405:
+  ^Idprintk("unknown event ([%.2x] [%.2x]) at port 0x%.4x(+0x%.2x)\n",$

WARNING: line over 80 characters
#290: FILE: drivers/misc/sony-laptop.c:2406:
+                       ev, data_mask, dev->cur_ioport->io1.minimum, dev->control->evport_offset);

ERROR: use tabs not spaces
#290: FILE: drivers/misc/sony-laptop.c:2406:
+ ^I^I^Iev, data_mask, dev->cur_ioport->io1.minimum, dev->control->evport_offset);$

ERROR: use tabs not spaces
#296: FILE: drivers/misc/sony-laptop.c:2411:
+ ^Iacpi_bus_generate_proc_event(dev->acpi_dev, 1, device_event);$

total: 4 errors, 4 warnings, 261 lines checked
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux