Dash:
[t2.git] / architecture / mips64 / package / linux / 9999-qla1280.patch
blob8a3cfcb80aac70c3c1d3412b55d3cde6b7861a18
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by scripts/Create-CopyPatch.
3 #
4 # T2 SDE: architecture/mips64/package/.../9999-qla1280.patch
5 # Copyright (C) 2020 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 Since Linus Torvalds reinstaded KERN_CONT in commit 4bcc595
18 in 2015, the qla1280 scsi driver printed a rather ugly and
19 screen real estate wasting status during boot. Fix by
20 adding KERN_CONT as needed.
22 -- Signed-off-by: René Rebe <rene@exactcode.de>
24 diff --git a/drivers/scsi/qla1280.c b/drivers/scsi/qla1280.c
25 index 441a45349349..7b8d573042a6 100644
26 --- a/drivers/scsi/qla1280.c
27 +++ b/drivers/scsi/qla1280.c
28 @@ -3914,18 +3914,18 @@ qla1280_get_target_parameters(struct scsi_qla_host *ha,
29 printk(KERN_INFO "scsi(%li:%d:%d:%d):", ha->host_no, bus, target, lun);
31 if (mb[3] != 0) {
32 - printk(" Sync: period %d, offset %d",
33 + printk(KERN_CONT " Sync: period %d, offset %d",
34 (mb[3] & 0xff), (mb[3] >> 8));
35 if (mb[2] & BIT_13)
36 - printk(", Wide");
37 + printk(KERN_CONT ", Wide");
38 if ((mb[2] & BIT_5) && ((mb[6] >> 8) & 0xff) >= 2)
39 - printk(", DT");
40 + printk(KERN_CONT ", DT");
41 } else
42 - printk(" Async");
43 + printk(KERN_CONT " Async");
45 if (device->simple_tags)
46 - printk(", Tagged queuing: depth %d", device->queue_depth);
47 - printk("\n");
48 + printk(KERN_CONT ", Tagged queuing: depth %d", device->queue_depth);
49 + printk(KERN_CONT "\n");