2015-06-09 18:14:49

by Jim Davis

[permalink] [raw]
Subject: randconfig build error with next-20150609, in drivers/misc/mic/scif/scif_rb.c

Building with the attached random configuration file,

drivers/misc/mic/scif/scif_rb.c: In function ‘scif_rb_write’:
drivers/misc/mic/scif/scif_rb.c:115:11: error: ‘ENOMEM’ undeclared (first use in
this function)
return -ENOMEM;
^
drivers/misc/mic/scif/scif_rb.c:115:11: note: each undeclared
identifier is reported only once for each function it appears in


Attachments:
randconfig-1433870505.txt (81.05 kB)

2015-06-09 18:54:03

by Dutt, Sudeep

[permalink] [raw]
Subject: Re: randconfig build error with next-20150609, in drivers/misc/mic/scif/scif_rb.c

On Tue, 2015-06-09 at 10:48 -0700, Jim Davis wrote:
> Building with the attached random configuration file,
>
> drivers/misc/mic/scif/scif_rb.c: In function ‘scif_rb_write’:
> drivers/misc/mic/scif/scif_rb.c:115:11: error: ‘ENOMEM’ undeclared (first use in
> this function)
> return -ENOMEM;
> ^
> drivers/misc/mic/scif/scif_rb.c:115:11: note: each undeclared
> identifier is reported only once for each function it appears in

Thanks for the report Jim. I will post a patch with the fix.

Sudeep Dutt