From: Fred Herard Date: Thu, 14 Mar 2019 15:50:16 +0000 (-0400) Subject: scsi: scsi_transport_iscsi: modify detected conn err to KERN_ERR X-Git-Tag: v4.1.12-124.31.3~237 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=6d383dfc0c7c4d52ead1a1c166b83faca3b68fe8;p=users%2Fjedix%2Flinux-maple.git scsi: scsi_transport_iscsi: modify detected conn err to KERN_ERR Fix for Orabug 29469714 is insufficient. The goal of fix for Orabug 29469714 is to print "detected conn error" message produced by scsi_transport_iscsi module onto console which is particularly useful when iscsi boot device is used and there are connection issues. The fix for Orabug 29469714 falls short because currently, the default console log level in OL is 4 which means that only log levels less than 4 (KERN_WARNING) will be printed to console. This commit modifies the corresponding printk log level to KERN_ERR (log level 3). Orabug: 29487790 Signed-off-by: Fred Herard Reviewed-by: Darren Kenny Signed-off-by: Brian Maly --- diff --git a/drivers/scsi/scsi_transport_iscsi.c b/drivers/scsi/scsi_transport_iscsi.c index 5f92d22551af..4a0e2fb9f4de 100644 --- a/drivers/scsi/scsi_transport_iscsi.c +++ b/drivers/scsi/scsi_transport_iscsi.c @@ -2463,7 +2463,7 @@ void iscsi_conn_error_event(struct iscsi_cls_conn *conn, enum iscsi_err error) iscsi_multicast_skb(skb, ISCSI_NL_GRP_ISCSID, GFP_ATOMIC); - iscsi_cls_conn_printk(KERN_WARNING, conn, "detected conn error (%d)\n", + iscsi_cls_conn_printk(KERN_ERR, conn, "detected conn error (%d)\n", error); } EXPORT_SYMBOL_GPL(iscsi_conn_error_event);