Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751523AbdFGFpy (ORCPT ); Wed, 7 Jun 2017 01:45:54 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:40592 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751472AbdFGFpx (ORCPT ); Wed, 7 Jun 2017 01:45:53 -0400 Date: Wed, 7 Jun 2017 07:45:46 +0200 From: Greg Kroah-Hartman To: Benjamin Herrenschmidt Cc: linux-kernel@vger.kernel.org, Paul Mackerras , Michael Ellerman , Vineet Gupta , Bart Van Assche , Robin Murphy , Joerg Roedel , Johan Hovold , Alexey Kardashevskiy , Krzysztof Kozlowski , linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH 10/16] powerpc: vio: use dev_groups and not dev_attrs for bus_type Message-ID: <20170607054546.GB7111@kroah.com> References: <20170606192221.1617-1-gregkh@linuxfoundation.org> <20170606192221.1617-11-gregkh@linuxfoundation.org> <20170606193058.GA2497@kroah.com> <1496790281.31588.33.camel@kernel.crashing.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1496790281.31588.33.camel@kernel.crashing.org> User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 815 Lines: 19 On Wed, Jun 07, 2017 at 09:04:41AM +1000, Benjamin Herrenschmidt wrote: > On Tue, 2017-06-06 at 21:30 +0200, Greg Kroah-Hartman wrote: > > > ? > > > ? static struct device_attribute vio_dev_attrs[] = { > > > ???????__ATTR_RO(name), > > > @@ -1573,6 +1576,13 @@ static struct device_attribute vio_dev_attrs[] = { > > > ???????__ATTR_RO(modalias), > > > ???????__ATTR_NULL > > > ? }; > > > +static struct attribute *vio_dev_attrs[] = { > > > > Hm, this feels wrong, odd that 0-day passed it.? I should be deleting > > the above vio_dev_attrs field as well.? Is powerpc really a dead > > platform?? :) > > Haha, not yet no, and the above is actually still quite actively > in use as it's part of our hypervisor virtual IO infrastructure. Ok, let me fix this, right after I emailed 0-day sent me the build error :)