aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-01-17staging: dgnc: delete is_pci_express board type variable.Greg Kroah-Hartman2-9/+0
It was only set, and never looked at, so drop the thing as no one cares about it. And when it was set, it was not even set correctly, the index it was using to read from was incorrect, so this has never even been correct... Cc: Lidza Louina <[email protected]> Cc: Mark Hounschell <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-17staging: dgnc: delete dpastatus board type variable.Greg Kroah-Hartman3-10/+0
It was only set, and never looked at, so drop the thing as no one cares about it. Cc: Lidza Louina <[email protected]> Cc: Mark Hounschell <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-17staging: dgnc: delete dpatype board type variable.Greg Kroah-Hartman3-10/+0
It was only set, and never looked at, so drop the thing as no one cares about it. Cc: Lidza Louina <[email protected]> Cc: Mark Hounschell <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-17staging: dgnc: delete dgnc_pci.hGreg Kroah-Hartman2-32/+11
Move the few #defines we actually use into the dgnc_driver.c file, no need to have a .h file for a driver that is only used by a single .c file. Cc: Lidza Louina <[email protected]> Cc: Mark Hounschell <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-17staging: dgnc: delete dgnc_neo.* filesGreg Kroah-Hartman5-1850/+0
As the Neo devices were never actually supported by the driver, delete the files that purported to control that type of device as they are not needed. This will let us shrink the driver a lot over time. Cc: Lidza Louina <[email protected]> Cc: Mark Hounschell <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-17staging: dgnc: remove PCI_DEVICE_NEO stuffGreg Kroah-Hartman2-91/+0
The "Neo" devices are never allowed to be bound to this driver, as they are not in the valid list of PCI ids, so delete them from the driver as the code in the probe function has no way to ever run. Also delete the defines that are no longer used in relation to the Neo devices, as they are not needed anymore. Cc: Lidza Louina <[email protected]> Cc: Mark Hounschell <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-16staging: fsl-mc: README cleanupIoana Radulescu1-16/+17
Minor cosmetic changes to the DPAA2 overview documentation file. Add a reference to the mc-bus driver sysfs documentation. Signed-off-by: Ioana Radulescu <[email protected]> Reviewed-by: Laurentiu Tudor <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-16staging: fsl-mc: Update include headerIoana Radulescu1-1/+1
With the declarations of its_fsl_mc_msi_init/cleanup() now removed from fsl-mc-private.h, irq-gic-v3-its-fsl-mc-msi.c only needs a couple of definitions from mc.h, so include that header directly. Signed-off-by: Ioana Radulescu <[email protected]> Reviewed-by: Laurentiu Tudor <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-16staging: fsl-mc: Remove unnecessary dependencyIoana Radulescu4-16/+2
The function that enables fsl-mc msi interrupts doesn't need to be explicitly called from the fsl-mc bus driver initialization routine. Mark it to be independently called at system init; this is in line with how things are handled by other GICv3 irqchip users. Due to this change we now have an unused cleanup function, so remove it. Signed-off-by: Ioana Radulescu <[email protected]> Reviewed-by: Laurentiu Tudor <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-16staging: fsl-mc: Remove dead codeIoana Radulescu2-21/+0
Remove one unused function from irq-gic-v3-its-fsl-mc-msi.c Signed-off-by: Ioana Radulescu <[email protected]> Reviewed-by: Laurentiu Tudor <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-16staging: fsl-mc: Consolidate bus core header filesBogdan Purcareata12-570/+371
The DPAA2 objects involved (DPMNG, DPMCP, DPRC) are used by the fsl-mc bus infrastructure only, so group the APIs and structs into fsl-mc-private.h. Signed-off-by: Bogdan Purcareata <[email protected]> Reviewed-by: Laurentiu Tudor <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-16staging: fsl-mc: Cleanup dprc and dpmcp header filesBogdan Purcareata6-591/+0
A lot of API and associated structures are not used by current code, so remove them. Signed-off-by: Bogdan Purcareata <[email protected]> Reviewed-by: Laurentiu Tudor <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-16staging: lustre: lnet: avoid uninitialized return valueArnd Bergmann1-2/+5
gcc warns that the latest workqueue change leads to returning an uninitialized variable: drivers/staging/lustre/lnet/selftest/module.c: In function 'lnet_selftest_init': drivers/staging/lustre/lnet/selftest/module.c:98:10: error: 'rc' may be used uninitialized in this function [-Werror=maybe-uninitialized] A failure from alloc_ordered_workqueue() tends to indicate an out-of-memory condition, so return -ENOMEM in both cases. The second error path was a preexisting bug, where we always returned zero after a kvmalloc_array() failure. Fixes: 6106c0f82481 ("staging: lustre: lnet: convert selftest to use workqueues") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-16staging: xgifb: vb_setmode: brace style fixesKenny Ballou1-8/+15
Add braces to certain "multiline" conditions where "multiline" means including comments. Signed-off-by: Kenny Ballou <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-16staging: xgifb: vb_setmode: fix long line warningsKenny Ballou1-21/+37
Fix a number of checkpatch warnings in xgfib/vb_setmode.c about line length being over 80 characters. Signed-off-by: Kenny Ballou <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-16staging: lustre: lnet: fix build warning in module.cGreg Kroah-Hartman1-1/+1
With the latest patches from Neil, we are now getting a build warning: drivers/staging/lustre/lnet/selftest/module.c: In function ‘lnet_selftest_init’: drivers/staging/lustre/lnet/selftest/module.c:98:10: warning: ‘rc’ may be used uninitialized in this function [-Wmaybe-uninitialized] return rc; ^~ So fix this up by giving a default error value to rc. Reported-by: Stephen Rothwell <[email protected]> Reported-by: kbuild test robot <[email protected]> Cc: NeilBrown <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-15staging: dgnc: remove duplicated tty definesGreg Kroah-Hartman1-24/+0
The dgnc driver defined numerous TTY defines that the core kernel already defines. So just remove this duplication. Cc: Lidza Louina <[email protected]> Cc: Mark Hounschell <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-15staging: dgnc: make dgnc_poll_tick staticGreg Kroah-Hartman2-2/+1
No one needs to see this global variable, so make it static. Cc: Lidza Louina <[email protected]> Cc: Mark Hounschell <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-15staging: dgnc: remove some global variablesGreg Kroah-Hartman2-3/+0
There were some global variables not being used at all, so just delete them. Cc: Lidza Louina <[email protected]> Cc: Mark Hounschell <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-15staging: dgnc: make dgnc_poll_lock staticGreg Kroah-Hartman2-2/+1
There's no need for this spinlock to be global, so make it a static variable. Cc: Lidza Louina <[email protected]> Cc: Mark Hounschell <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-15staging: dgnc: make dgnc_num_boards staticGreg Kroah-Hartman2-2/+1
There's no need for the world to know the number of dgnc boards in the system, so just make it a static variable. Cc: Lidza Louina <[email protected]> Cc: Mark Hounschell <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-15staging: dgnc: remove crazy "management" device nodeGreg Kroah-Hartman5-348/+1
There's no need for a special character device just to get some random information out of a single serial port driver. So remove the dgnc_mgmt.c file, and some structures and ioctl definitions that only it was using. Cc: Lidza Louina <[email protected]> Cc: Mark Hounschell <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-15staging: dgnc: delete dgnc_utils.cGreg Kroah-Hartman4-27/+2
There was just one function in it, and it duplicated what msleep_interruptable() was doing, which is pointless, so delete it and fix up the one calling site. Cc: Lidza Louina <[email protected]> Cc: Mark Hounschell <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-15staging: fbtft: remove redundant license textGreg Kroah-Hartman35-357/+2
Now that the SPDX tag is in all fbtft files, that identifies the license in a specific and legally-defined manner. So the extra GPL text wording can be removed as it is no longer needed at all. This is done on a quest to remove the 700+ different ways that files in the kernel describe the GPL license text. And there's unneeded stuff like the address (sometimes incorrect) for the FSF which is never needed. No copyright headers or other non-license-description text was removed. Cc: Thomas Petazzoni <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-15staging: fbtft: add SPDX identifiersGreg Kroah-Hartman38-0/+38
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses. Fix up the all of the staging fbtft drivers to have a proper SPDX identifier, based on the license text in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. This work is based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart. Cc: Thomas Gleixner <[email protected]> Cc: Kate Stewart <[email protected]> Cc: Philippe Ombredanne <[email protected]> Cc: Thomas Petazzoni <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-15staging: emxx_udc: remove redundant license textGreg Kroah-Hartman2-18/+0
Now that the SPDX tag is in the emxx_udc driver files, that identifies the license in a specific and legally-defined manner. So the extra GPL text wording can be removed as it is no longer needed at all. This is done on a quest to remove the 700+ different ways that files in the kernel describe the GPL license text. And there's unneeded stuff like the address (sometimes incorrect) for the FSF which is never needed. No copyright headers or other non-license-description text was removed. Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-15staging: emxx_udc: add SPDX identifier.Greg Kroah-Hartman2-0/+2
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses. Fix up the staging emxx_udc driver to have a proper SPDX identifier, based on the license text in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. This work is based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart. Cc: Thomas Gleixner <[email protected]> Cc: Kate Stewart <[email protected]> Cc: Philippe Ombredanne <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-15staging: clocking-wizard: remove redundant license textGreg Kroah-Hartman1-12/+0
Now that the SPDX tag is in the clocking-wizard driver files, that identifies the license in a specific and legally-defined manner. So the extra GPL text wording can be removed as it is no longer needed at all. This is done on a quest to remove the 700+ different ways that files in the kernel describe the GPL license text. And there's unneeded stuff like the address (sometimes incorrect) for the FSF which is never needed. No copyright headers or other non-license-description text was removed. Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-15staging: clocking-wizard: add SPDX identifier.Greg Kroah-Hartman1-0/+1
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses. Fix up the staging clocking-wizard driver to have a proper SPDX identifier, based on the license text in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. This work is based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart. Cc: Thomas Gleixner <[email protected]> Cc: Kate Stewart <[email protected]> Cc: Philippe Ombredanne <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-15staging: dgnc: remove redundant license textGreg Kroah-Hartman12-120/+0
Now that the SPDX tag is in all drivers/staging/dgnc files, that identifies the license in a specific and legally-defined manner. So the extra GPL text wording can be removed as it is no longer needed at all. This is done on a quest to remove the 700+ different ways that files in the kernel describe the GPL license text. And there's unneeded stuff like the address (sometimes incorrect) for the FSF which is never needed. No copyright headers or other non-license-description text was removed. Cc: Lidza Louina <[email protected]> Cc: Mark Hounschell <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-15staging: dgnc: add SPDX identifier.Greg Kroah-Hartman12-0/+12
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses. Fix up the staging dgnc driver to have a proper SPDX identifier, based on the license text in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. This work is based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart. Cc: Thomas Gleixner <[email protected]> Cc: Kate Stewart <[email protected]> Cc: Philippe Ombredanne <[email protected]> Cc: Lidza Louina <[email protected]> Cc: Mark Hounschell <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-15staging: fwserial: remove redundant license textGreg Kroah-Hartman3-30/+0
Now that the SPDX tag is in all drivers/staging/fwserial/ files, that identifies the license in a specific and legally-defined manner. So the extra GPL text wording can be removed as it is no longer needed at all. This is done on a quest to remove the 700+ different ways that files in the kernel describe the GPL license text. And there's unneeded stuff like the address (sometimes incorrect) for the FSF which is never needed. No copyright headers or other non-license-description text was removed. Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-15staging: fwserial: add SPDX identifier.Greg Kroah-Hartman3-0/+3
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses. Fix up the staging fwserial driver to have a proper SPDX identifier, based on the license text in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. This work is based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart. Cc: Thomas Gleixner <[email protected]> Cc: Kate Stewart <[email protected]> Cc: Philippe Ombredanne <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-15staging: octeon: remove redundant license textGreg Kroah-Hartman16-63/+0
Now that the SPDX tag is in all drivers/staging/octeon/ files, that identifies the license in a specific and legally-defined manner. So the extra GPL text wording can be removed as it is no longer needed at all. This is done on a quest to remove the 700+ different ways that files in the kernel describe the GPL license text. And there's unneeded stuff like the address (sometimes incorrect) for the FSF which is never needed. No copyright headers or other non-license-description text was removed. Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-15staging: octeon: add SPDX identifiers.Greg Kroah-Hartman16-0/+16
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses. Fix up the staging octeon driver to have a proper SPDX identifier, based on the license text in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. This work is based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart. Cc: Thomas Gleixner <[email protected]> Cc: Kate Stewart <[email protected]> Cc: Philippe Ombredanne <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-15staging: nvec: remove redundant license textGreg Kroah-Hartman7-43/+0
Now that the SPDX tag is in all drivers/staging/nvec/ files, that identifies the license in a specific and legally-defined manner. So the extra GPL text wording can be removed as it is no longer needed at all. This is done on a quest to remove the 700+ different ways that files in the kernel describe the GPL license text. And there's unneeded stuff like the address (sometimes incorrect) for the FSF which is never needed. No copyright headers or other non-license-description text was removed. Cc: Marc Dietrich <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-15staging: nvec: add SPDX identifier.Greg Kroah-Hartman7-0/+7
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses. Fix up the staging nvec driver to have a proper SPDX identifiers, based on the license text in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. This work is based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart. Cc: Thomas Gleixner <[email protected]> Cc: Kate Stewart <[email protected]> Cc: Philippe Ombredanne <[email protected]> Cc: Marc Dietrich <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-15staging: speakup: remove redundant license textGreg Kroah-Hartman20-200/+0
Now that the SPDX tag is in all drivers/staging/speakup/ files, that identifies the license in a specific and legally-defined manner. So the extra GPL text wording can be removed as it is no longer needed at all. This is done on a quest to remove the 700+ different ways that files in the kernel describe the GPL license text. And there's unneeded stuff like the address (sometimes incorrect) for the FSF which is never needed. No copyright headers or other non-license-description text was removed. Cc: William Hubbs <[email protected]> Cc: Chris Brannon <[email protected]> Cc: Kirk Reiser <[email protected]> Cc: Samuel Thibault <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-15staging: speakup: add SPDX identifier.Greg Kroah-Hartman27-0/+27
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses. Fix up the remaining staging speakup files to have a proper SPDX identifier, based on the license text in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. This work is based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart. Cc: Thomas Gleixner <[email protected]> Cc: Kate Stewart <[email protected]> Cc: Philippe Ombredanne <[email protected]> Cc: William Hubbs <[email protected]> Cc: Chris Brannon <[email protected]> Cc: Kirk Reiser <[email protected]> Cc: Samuel Thibault <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-15staging: vc04_services: bcm2835-camera: remove redundant license textGreg Kroah-Hartman12-48/+0
Now that the SPDX tag is in all drivers/staging/vc04_services/bcm2835-camera/ files, that identifies the license in a specific and legally-defined manner. So the extra GPL text wording can be removed as it is no longer needed at all. This is done on a quest to remove the 700+ different ways that files in the kernel describe the GPL license text. And there's unneeded stuff like the address (sometimes incorrect) for the FSF which is never needed. No copyright headers or other non-license-description text was removed. Cc: Eric Anholt <[email protected]> Cc: Stefan Wahren <[email protected]> Cc: Florian Fainelli <[email protected]> Cc: Ray Jui <[email protected]> Cc: Scott Branden <[email protected]> Cc: <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-15staging: vc04_services: bcm2835-camera: add SPDX identifiersGreg Kroah-Hartman12-0/+12
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses. Fix up the bcm2835-camera driver to have a proper SPDX identifier, based on the license text in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. This work is based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart. Cc: Thomas Gleixner <[email protected]> Cc: Kate Stewart <[email protected]> Cc: Philippe Ombredanne <[email protected]> Cc: Eric Anholt <[email protected]> Cc: Stefan Wahren <[email protected]> Cc: Florian Fainelli <[email protected]> Cc: Ray Jui <[email protected]> Cc: Scott Branden <[email protected]> Cc: <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-15staging: vc04_services: bcm2835-audio: remove redundant license textGreg Kroah-Hartman6-78/+6
Now that the SPDX tag is in all drivers/staging/vc04_services/bcm2835-audio/ files, that identifies the license in a specific and legally-defined manner. So the extra GPL text wording can be removed as it is no longer needed at all. This is done on a quest to remove the 700+ different ways that files in the kernel describe the GPL license text. And there's unneeded stuff like the address (sometimes incorrect) for the FSF which is never needed. No copyright headers or other non-license-description text was removed. Cc: Stefan Wahren <[email protected]> Cc: Florian Fainelli <[email protected]> Cc: Ray Jui <[email protected]> Cc: Scott Branden <[email protected]> Cc: <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-15staging: vc04_services: bcm2835-audio: add SPDX identifiersGreg Kroah-Hartman6-0/+6
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses. Fix up the bcm2835-audio driver to have a proper SPDX identifier, based on the license text in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. This work is based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart. Cc: Thomas Gleixner <[email protected]> Cc: Kate Stewart <[email protected]> Cc: Philippe Ombredanne <[email protected]> Cc: Eric Anholt <[email protected]> Cc: Stefan Wahren <[email protected]> Cc: Florian Fainelli <[email protected]> Cc: Ray Jui <[email protected]> Cc: Scott Branden <[email protected]> Cc: <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-15staging: typec: remove redundant license textGreg Kroah-Hartman2-20/+0
Now that the SPDX tag is in all drivers/staging/typec/ files, that identifies the license in a specific and legally-defined manner. So the extra GPL text wording can be removed as it is no longer needed at all. This is done on a quest to remove the 700+ different ways that files in the kernel describe the GPL license text. And there's unneeded stuff like the address (sometimes incorrect) for the FSF which is never needed. No copyright headers or other non-license-description text was removed. Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-15staging: typec: add SPDX identifier.Greg Kroah-Hartman2-0/+2
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses. Fix up the drivers/staging/typec/ files to have a proper SPDX identifier, based on the license text in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. This work is based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart. Cc: Thomas Gleixner <[email protected]> Cc: Kate Stewart <[email protected]> Cc: Philippe Ombredanne <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-15staging: vme: vme_user.c: remove redundant license textGreg Kroah-Hartman1-6/+0
Now that the SPDX tag is in all drivers/staging/vme/ files, that identifies the license in a specific and legally-defined manner. So the extra GPL text wording can be removed as it is no longer needed at all. This is done on a quest to remove the 700+ different ways that files in the kernel describe the GPL license text. And there's unneeded stuff like the address (sometimes incorrect) for the FSF which is never needed. No copyright headers or other non-license-description text was removed. Cc: Martyn Welch <[email protected]> Cc: Manohar Vanga <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-15staging: vme: vme_user: add SPDX identifier.Greg Kroah-Hartman1-0/+1
It's good to have SPDX identifiers in all files to make it easier to audit the kernel tree for correct licenses. Fix up the remaining staging vme driver to have a proper SPDX identifier, based on the license text in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. This work is based on a script and data from Thomas Gleixner, Philippe Ombredanne, and Kate Stewart. Cc: Thomas Gleixner <[email protected]> Cc: Kate Stewart <[email protected]> Cc: Philippe Ombredanne <[email protected]> Cc: Martyn Welch <[email protected]> Cc: Manohar Vanga <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-15staging: lustre: Align backslashes in multi-line macrosFabian Huegel1-83/+83
This patch right aligns all backslashes in multi-line macros in obd_class.h for better readability. Signed-off-by: Fabian Huegel <[email protected]> Signed-off-by: Christoph Volkert <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-15staging: lustre: Fix overlong linesFabian Huegel1-4/+10
Fixed four lines that went over the 80 character limit to reduce checkpatch warnings. Signed-off-by: Fabian Huegel <[email protected]> Signed-off-by: Christoph Volkert <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
2018-01-15staging: lustre: Add identifier names to function declarationsFabian Huegel1-10/+12
Checkpatch was complaining about missing identifier names in function declarations. So we added the missing names according to the names in the respective function implementation. *obd_import* was sometimes named *import* and sometimes *imp* (in genops.c), so to avoid confusion we just named it imp everywhere. Signed-off-by: Fabian Huegel <[email protected]> Signed-off-by: Christoph Volkert <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>