[PATCH] Silence noisy per-device cciss messages

From: Bryn M. Reeves
Date: Fri Jun 07 2013 - 08:45:10 EST


This patch mirrors the change made to cciss_read_capacity in commit
983333c. Emitting device and block size information at KERN_INFO on
each read_capacity() leads to a lot of log noise.

Signed-off-by: Bryn M. Reeves <bmr@xxxxxxxxxx>
---
drivers/block/cciss.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index 6374dc1..b128016 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -2937,8 +2937,6 @@ static void cciss_read_capacity_16(ctlr_info_t *h, int logvol,
*total_size = 0;
*block_size = BLOCK_SIZE;
}
- dev_info(&h->pdev->dev, " blocks= %llu block_size= %d\n",
- (unsigned long long)*total_size+1, *block_size);
kfree(buf);
}

--
1.7.11.7


--------------010309000803070204020305--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/