[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1484935897.12563.6.camel@perches.com>
Date: Fri, 20 Jan 2017 10:11:37 -0800
From: Joe Perches <joe@...ches.com>
To: Chaitra P B <chaitra.basappa@...adcom.com>, jejb@...nel.org,
hch@...radead.org, James.Bottomley@...senPartnership.com
Cc: martin.petersen@...cle.com, linux-scsi@...r.kernel.org,
Sathya.Prakash@...adcom.com, kashyap.desai@...adcom.com,
krishnaraddi.mankani@...adcom.com, linux-kernel@...r.kernel.org,
suganath-prabu.subramani@...adcom.com, sreekanth.reddy@...adcom.com
Subject: Re: [PATCH v2 1/4] mpt3sas: Added print to notify cable running at
a degraded speed.
On Fri, 2017-01-20 at 09:55 -0800, Joe Perches wrote:
> I believe MPT3SAS_FMT is unnecessary obfuscation and
> it should just be replaced by "%s: " everywhere.
Here's a trivial command that could be used one day:
$ git grep --name-only MPT3SAS_FMT -- "*.c" | \
xargs perl -p -i -e 'local $/; while (<>) { s/\bMPT3SAS_FMT\s*"/"%s: /g; print; }'
Powered by blists - more mailing lists