[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ccda637a-faba-1a8c-036b-22d834036c7a@gmail.com>
Date: Thu, 12 Aug 2021 21:00:33 +0800
From: Like Xu <like.xu.linux@...il.com>
To: Paolo Bonzini <pbonzini@...hat.com>
Cc: Sean Christopherson <seanjc@...gle.com>,
Vitaly Kuznetsov <vkuznets@...hat.com>,
Wanpeng Li <wanpengli@...cent.com>,
Jim Mattson <jmattson@...gle.com>,
Joerg Roedel <joro@...tes.org>, Ingo Molnar <mingo@...hat.com>,
kvm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 5/5] KVM: x86: Clean up redundant pr_fmt(fmt) macro
definition for svm
On 11/8/2021 1:48 am, Paolo Bonzini wrote:
> On 09/08/21 11:34, Like Xu wrote:
>> +#undef pr_fmt
>> +#define pr_fmt(fmt) "SVM: " fmt
>> +
>> #include <linux/kvm_types.h>
>
> Why do you need the #undef?
>
> Paolo
>
>
I've seen most of the redefinition code for 'pr_fmt' like this,
for example:
- 3bfaf95cb1fe81872df884956c704469e68a5bee
- d157aa0fb241646e8818f699653ed983e6581b11
Powered by blists - more mailing lists