aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2016-09-11 19:03:55 -0400
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2016-09-15 09:04:21 -0400
commit64fba530e9ef81469b6dc65bf8e00ed9e90192c7 (patch)
treed70cc51754a9f6621536034d03227eb910b9b2e3
parent47de683afa7d1b9638a7d6817826d0cdc72b0e1a (diff)
tpm/tpm_crb: fix the over 80 characters checkpatch warring
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>
-rw-r--r--drivers/char/tpm/tpm_crb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/tpm/tpm_crb.c b/drivers/char/tpm/tpm_crb.c
index ceea7e256a6d..a7c870af916c 100644
--- a/drivers/char/tpm/tpm_crb.c
+++ b/drivers/char/tpm/tpm_crb.c
@@ -263,8 +263,7 @@ static int crb_map_io(struct acpi_device *device, struct crb_priv *priv,
263 acpi_dev_free_resource_list(&resources); 263 acpi_dev_free_resource_list(&resources);
264 264
265 if (resource_type(&io_res) != IORESOURCE_MEM) { 265 if (resource_type(&io_res) != IORESOURCE_MEM) {
266 dev_err(dev, 266 dev_err(dev, FW_BUG "TPM2 ACPI table does not define a memory resource\n");
267 FW_BUG "TPM2 ACPI table does not define a memory resource\n");
268 return -EINVAL; 267 return -EINVAL;
269 } 268 }
270 269