linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the final tree (hid tree related)
@ 2010-04-01  6:06 Stephen Rothwell
  2010-04-01  6:18 ` Jiri Kosina
  0 siblings, 1 reply; 8+ messages in thread
From: Stephen Rothwell @ 2010-04-01  6:06 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: linux-next, linux-kernel, "Bruno Prémont"

[-- Attachment #1: Type: text/plain, Size: 782 bytes --]

Hi Jiri,

After merging the final tree, today's linux-next build (powerpc
allyesconfig) failed like this:

drivers/hid/hid-picolcd.c: In function 'picolcd_debug_reset_write':
drivers/hid/hid-picolcd.c:1343: error: implicit declaration of function 'copy_from_user'
drivers/hid/hid-picolcd.c: In function 'picolcd_debug_eeprom_read':
drivers/hid/hid-picolcd.c:1407: error: implicit declaration of function 'copy_to_user'

Caused by commit 9bbf2b98ba11d00bd73e3254e15cfe17ccaff6ba ("HID: add
experimental access to PicoLCD device's EEPROM and FLASH").  Using copy_
{to,from}_user requires the include of linux/uaccess.h.

I have reverted that commit for today.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread
* linux-next: build failure after merge of the final tree (hid tree related)
@ 2012-08-16  5:25 Stephen Rothwell
  2012-08-16 10:05 ` Jiri Kosina
  0 siblings, 1 reply; 8+ messages in thread
From: Stephen Rothwell @ 2012-08-16  5:25 UTC (permalink / raw)
  To: Jiri Kosina
  Cc: linux-next, linux-kernel,
	=?UTF-8?B?IkJydW5vIFByw6ltb250IDxib25ib25zQGxpbnV4LXZzZXJ2ZXIub3JnPiI=?=

[-- Attachment #1: Type: text/plain, Size: 2076 bytes --]

Hi all,

After merging the final tree, today's linux-next build (powerpc
allyesconfig) failed like this:

drivers/hid/hid-picolcd_fb.c: In function 'picolcd_fb_destroy':
drivers/hid/hid-picolcd_fb.c:350:2: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration]
drivers/hid/hid-picolcd_fb.c: In function 'picolcd_init_framebuffer':
drivers/hid/hid-picolcd_fb.c:508:2: error: implicit declaration of function 'vmalloc' [-Werror=implicit-function-declaration]
drivers/hid/hid-picolcd_fb.c:508:12: warning: assignment makes pointer from integer without a cast [enabled by default]

Caused by commit fabdbf2fd22f ("HID: picoLCD: split driver code") from
the hid tree.

I added the following patch for today:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Thu, 16 Aug 2012 15:20:10 +1000
Subject: [PATCH] HID: using vmalloc() requires the include of vmalloc.h

Fixes thes build errors:

drivers/hid/hid-picolcd_fb.c: In function 'picolcd_fb_destroy':
drivers/hid/hid-picolcd_fb.c:350:2: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration]
drivers/hid/hid-picolcd_fb.c: In function 'picolcd_init_framebuffer':
drivers/hid/hid-picolcd_fb.c:508:2: error: implicit declaration of function 'vmalloc' [-Werror=implicit-function-declaration]
drivers/hid/hid-picolcd_fb.c:508:12: warning: assignment makes pointer from integer without a cast [enabled by default]

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/hid/hid-picolcd_fb.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/hid/hid-picolcd_fb.c b/drivers/hid/hid-picolcd_fb.c
index 4d8e22c..cf295c5 100644
--- a/drivers/hid/hid-picolcd_fb.c
+++ b/drivers/hid/hid-picolcd_fb.c
@@ -18,6 +18,7 @@
  ***************************************************************************/
 
 #include <linux/hid.h>
+#include <linux/vmalloc.h>
 #include "usbhid/usbhid.h"
 #include <linux/usb.h>
 
-- 
1.7.10.280.gaa39

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-08-16 11:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-01  6:06 linux-next: build failure after merge of the final tree (hid tree related) Stephen Rothwell
2010-04-01  6:18 ` Jiri Kosina
2010-04-01  7:35   ` Stephen Rothwell
2010-04-01  7:53     ` Bruno Prémont
2010-04-01 19:05       ` Bruno Prémont
2012-08-16  5:25 Stephen Rothwell
2012-08-16 10:05 ` Jiri Kosina
2012-08-16 11:14   ` Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).