]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
tpm/tpm_crb: fix the over 80 characters checkpatch warring
authorTomas Winkler <tomas.winkler@intel.com>
Sun, 11 Sep 2016 23:03:55 +0000 (02:03 +0300)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Thu, 15 Sep 2016 13:04:21 +0000 (16:04 +0300)
Because of the line break in the debug print the chackpatch is
not silent on 80 characters limitation.

The easiest fix is to straighten the lines, it's also more readable.

WARNING: line over 80 characters
+                       FW_BUG "TPM2 ACPI table does not define a memory
resource\n");

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
drivers/char/tpm/tpm_crb.c

index ceea7e256a6dfa1a60d67f4bd3f683f0f9fcc48c..a7c870af916c3d68df408b802299995a2f15007e 100644 (file)
@@ -263,8 +263,7 @@ static int crb_map_io(struct acpi_device *device, struct crb_priv *priv,
        acpi_dev_free_resource_list(&resources);
 
        if (resource_type(&io_res) != IORESOURCE_MEM) {
-               dev_err(dev,
-                       FW_BUG "TPM2 ACPI table does not define a memory resource\n");
+               dev_err(dev, FW_BUG "TPM2 ACPI table does not define a memory resource\n");
                return -EINVAL;
        }