[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <39f56211-cf15-8ca5-a48f-3e4cc347cdb0@huawei.com>
Date: Mon, 12 Nov 2018 19:31:48 +0000
From: John Garry <john.garry@...wei.com>
To: Joe Perches <joe@...ches.com>, <jejb@...ux.vnet.ibm.com>,
<martin.petersen@...cle.com>
CC: <linux-scsi@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linuxarm@...wei.com>
Subject: Re: [PATCH] scsi: libsas: Remove pcidev reference
On 12/11/2018 18:58, Joe Perches wrote:
>>> +#define pr_fmt(fmt) "sas: " fmt
>> >
>> > Some other subsystem may try to include this header, and gets its
>> > message prefix overwritten. Just a consequence for doing something bad,
>> > right?
> Right.
>
> And as this file is internal to drivers/scsi/libsas
> that seems very unlikely to occur.
>
> It also might useful to use the common debugging
> mechanisms and convert SAS_DPRINTK to pr_debug
> which would use the same #define pr_fmt.
>
OK, I will try to put this all together as a marginally wider scope tidy-up.
Cheers,
John
Powered by blists - more mailing lists