From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755636AbdGSRUT (ORCPT ); Wed, 19 Jul 2017 13:20:19 -0400 Received: from mx2.suse.de ([195.135.220.15]:49783 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755408AbdGSRUS (ORCPT ); Wed, 19 Jul 2017 13:20:18 -0400 Subject: Re: [PATCH v2] xen: xen-pciback: remove DRIVER_ATTR() usage To: Greg KH Cc: Boris Ostrovsky , xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org References: <20170719125817.GD17776@kroah.com> <20170719144344.GA10632@kroah.com> <20170719151721.GA31932@kroah.com> From: Juergen Gross Message-ID: <16c2b14b-7718-1bb8-d376-32f9d46a841e@suse.com> Date: Wed, 19 Jul 2017 19:20:15 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20170719151721.GA31932@kroah.com> Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19/07/17 17:17, Greg KH wrote: > On Wed, Jul 19, 2017 at 04:51:02PM +0200, Juergen Gross wrote: >> On 19/07/17 16:43, Greg KH wrote: >>> From: Greg Kroah-Hartman >>> >>> It's better to be explicit and use the DRIVER_ATTR_RW() and >>> DRIVER_ATTR_RO() macros when defining a driver's sysfs file. >>> >>> Bonus is this fixes up a checkpatch.pl warning. >>> >>> This is part of a series to drop DRIVER_ATTR() from the tree entirely. >>> >>> Cc: Boris Ostrovsky >>> Cc: Juergen Gross >>> Signed-off-by: Greg Kroah-Hartman >> >> Reviewed-by: Juergen Gross >> >> I'll take this through the Xen tree, unless you want to use your tree. > > If I can take it through mine, then I could drop DRIVER_ATTR() from the > whole tree for the next kernel release, which would be ideal. > > But if you want to take it, that's fine, I can wait another release, no > rush. In this case just use your tree. I don't think there are any pending conflicting patches right now. Juergen