Linux IOMMU Development
 help / color / mirror / Atom feed
From: Baolu Lu <baolu.lu@linux.intel.com>
To: Tina Zhang <tina.zhang@intel.com>, iommu@lists.linux.dev
Cc: baolu.lu@linux.intel.com
Subject: Re: [PATCH 3/4] iommu/vt-d: Fix quoted string split across lines
Date: Wed, 29 Mar 2023 21:38:15 +0800	[thread overview]
Message-ID: <96c82f7e-89ab-afc4-32e8-10fbaca3be2a@linux.intel.com> (raw)
In-Reply-To: <20230329124654.2698853-4-tina.zhang@intel.com>

On 2023/3/29 20:46, Tina Zhang wrote:
> This patch resolves checkpatch warnings for intel iommu driver.
> 
> WARNING: quoted string split across lines
> 	pr_err("%s: iommu width (%d) is not "
> 		"sufficient for the mapped address (%llx)\n",

We should have avoided this code style at the beginning. But it already
appears in Linus's tree. It doesn't make more sense to fix it now.

Best regards,
baolu

> 
> Signed-off-by: Tina Zhang <tina.zhang@intel.com>
> ---
>   drivers/iommu/intel/iommu.c | 3 +--
>   1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/drivers/iommu/intel/iommu.c b/drivers/iommu/intel/iommu.c
> index 085d31a77f6f..286bb17973a4 100644
> --- a/drivers/iommu/intel/iommu.c
> +++ b/drivers/iommu/intel/iommu.c
> @@ -4294,8 +4294,7 @@ static int intel_iommu_map(struct iommu_domain *domain,
>   		/* check if minimum agaw is sufficient for mapped address */
>   		end = __DOMAIN_MAX_ADDR(dmar_domain->gaw) + 1;
>   		if (end < max_addr) {
> -			pr_err("%s: iommu width (%d) is not "
> -			       "sufficient for the mapped address (%llx)\n",
> +			pr_err("%s: iommu width (%d) is not sufficient for the mapped address (%llx)\n",
>   			       __func__, dmar_domain->gaw, max_addr);
>   			return -EFAULT;
>   		}


  reply	other threads:[~2023-03-29 13:38 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-29 12:46 [PATCH 0/4] iommu/vt-d: Several fixes for intel iommu driver Tina Zhang
2023-03-29 12:46 ` [PATCH 1/4] iommu/vt-d: Fix null pointer access in invalidate_range callback Tina Zhang
2023-03-29 13:30   ` Baolu Lu
2023-03-29 13:40     ` Zhang, Tina
2023-03-29 13:51       ` Baolu Lu
2023-03-29 12:46 ` [PATCH 2/4] iommu/vt-d: Fix operand size in bitwise operation Tina Zhang
2023-03-29 13:32   ` Baolu Lu
2023-03-29 13:44     ` Zhang, Tina
2023-03-29 12:46 ` [PATCH 3/4] iommu/vt-d: Fix quoted string split across lines Tina Zhang
2023-03-29 13:38   ` Baolu Lu [this message]
2023-03-29 23:40     ` Zhang, Tina
2023-03-29 12:46 ` [PATCH 4/4] iommu/vt-d: Replace BUG()/BUG_ON() with WARN_ON/WARN_ON_ONCE() Tina Zhang
2023-03-29 13:40   ` Baolu Lu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=96c82f7e-89ab-afc4-32e8-10fbaca3be2a@linux.intel.com \
    --to=baolu.lu@linux.intel.com \
    --cc=iommu@lists.linux.dev \
    --cc=tina.zhang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox