2.6.11-rc4-mm1: infiniband/core/user_mad.c warning

Adrian Bunk
2005-02-24T11:14:06Z

On Wed, Feb 23, 2005 at 01:42:33AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.11-rc3-mm1:
>...
> bk-driver-core-infiniband-build-fix.patch
>...

This gives me the following compile error:

<-- snip -->

...
CC drivers/infiniband/core/user_mad.o
drivers/infiniband/core/user_mad.c:587: warning: 'class_device_attr_dev' defined but not used
...

<-- snip -->

Reverting this patch fixes the warning (but I don't know about the
underlying issues).

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed