Skip to content

Commit

Permalink
hdata/i2c: Reduce severity of log message
Browse files Browse the repository at this point in the history
Looks like WARNING message resulting in some unnecessary bug report.
Lets reduce severity to PR_NOTICE.

Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
  • Loading branch information
Vasant Hegde authored and stewartsmith committed Feb 19, 2019
1 parent b1d4218 commit dd9b61c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hdata/i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ int parse_i2c_devs(const struct HDIF_common_hdr *hdr, int idata_index,
* hdat. Log both cases to see what/where/why.
*/
if (!type || dev->type == 0xFF) {
prlog(PR_WARNING, "HDAT I2C: found e%dp%d - %s@%x dp:%02x (%#x:%s)\n",
prlog(PR_NOTICE, "HDAT I2C: found e%dp%d - %s@%x dp:%02x (%#x:%s)\n",
dev->i2cm_engine, dev->i2cm_port, name, dev_addr,
dev->dev_port, purpose, info->label);
continue;
Expand Down

0 comments on commit dd9b61c

Please sign in to comment.