Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1424336

Re: linux-next: Tree for Jun 16 (linux/firmware.h)

From Stephen Boyd <stephen.boyd@linaro.org>
Newsgroups linux.kernel
Subject Re: linux-next: Tree for Jun 16 (linux/firmware.h)
Date 2016-06-16 20:20 +0200
Message-ID <rKK3v-3hY-9@gated-at.bofh.it> (permalink)
References <rKylH-4js-1@gated-at.bofh.it> <rKH5E-1u6-3@gated-at.bofh.it> <rKIEp-2jH-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Quoting Randy Dunlap (2016-06-16 09:46:43)
> [adding Stephen Boyd]
> 
> On 06/16/16 08:02, Randy Dunlap wrote:
> > On 06/15/16 22:49, Stephen Rothwell wrote:
> >> Hi all,
> >>
> >> Changes since 20160615:
> >>
> > 
> > on i386 and/or x86_64:
> > 
> > In file included from ../drivers/fpga/fpga-mgr.c:21:0:
> > ../include/linux/firmware.h:82:1: error: expected identifier or ( before { token
> >  {
> >  ^
> > 
> > 
> 
> See:
> 
> static inline int request_firmware_into_buf(const struct firmware **firmware_p,
>         const char *name, struct device *device, void *buf, size_t size);
> {
>         return -EINVAL;
> }
> 

Urgh sorry about that. The semicolon should go away. Andrew can you
squash this in? I tested compilation without this config enabled.

---8<---
diff --git a/include/linux/firmware.h b/include/linux/firmware.h
index bdc24ee92823..b1f9f0ccb8ac 100644
--- a/include/linux/firmware.h
+++ b/include/linux/firmware.h
@@ -78,7 +78,7 @@ static inline int request_firmware_direct(const struct firmware **fw,
 }
 
 static inline int request_firmware_into_buf(const struct firmware **firmware_p,
-	const char *name, struct device *device, void *buf, size_t size);
+	const char *name, struct device *device, void *buf, size_t size)
 {
 	return -EINVAL;
 }

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

linux-next: Tree for Jun 16 Stephen Rothwell <sfr@canb.auug.org.au> - 2016-06-16 07:50 +0200
  Re: linux-next: Tree for Jun 16 (linux/firmware.h) Randy Dunlap <rdunlap@infradead.org> - 2016-06-16 17:10 +0200
    Re: linux-next: Tree for Jun 16 (linux/firmware.h) Randy Dunlap <rdunlap@infradead.org> - 2016-06-16 18:50 +0200
      Re: linux-next: Tree for Jun 16 (linux/firmware.h) Stephen Boyd <stephen.boyd@linaro.org> - 2016-06-16 20:20 +0200

csiph-web