[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5d75e57a-4d04-e6b9-1bbd-a01072bfa6b1@redhat.com>
Date: Thu, 9 Jan 2020 10:17:57 +0100
From: Paolo Bonzini <pbonzini@...hat.com>
To: Nicolai Stange <nstange@...e.de>
Cc: Chen Wandun <chenwandun@...wei.com>, rkrcmar@...hat.com,
tglx@...utronix.de, mingo@...hat.com, bp@...en8.de, hpa@...or.com,
x86@...nel.org, kvm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH next] KVM: Fix debugfs_simple_attr.cocci warnings
On 08/01/20 11:29, Nicolai Stange wrote:
>
> How about introducing a
> #define debugfs_create_attr debugfs_create_file_unsafe
> instead to make those
> s/DEFINE_SIMPLE_ATTRIBUTE/DEFINE_DEBUGFS_ATTRIBUTE/
> patches look less scary?
I agree that could be worthwhile. My main complaint is the "scariness
factor" of the patches that convert DEFINE_SIMPLE_ATTRIBUTE to
DEFINE_DEBUGFS_ATTRIBUTE, and this change would alleviate that problem.
Thanks,
Paolo
Powered by blists - more mailing lists