Thread (6 messages) flat view 6 messages, 2 authors, 2017-06-07

Re: [PATCH 10/16] powerpc: vio: use dev_groups and not dev_attrs for bus_type

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2017-06-07 05:57:09
Also in: lkml

On Wed, 2017-06-07 at 07:45 +0200, Greg Kroah-Hartman wrote:
On Wed, Jun 07, 2017 at 09:04:41AM +1000, Benjamin Herrenschmidt wrote:
quoted
On Tue, 2017-06-06 at 21:30 +0200, Greg Kroah-Hartman wrote:
quoted
quoted
  
  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 :)
Thanks !

Cheers,
Ben.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help