Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] [PATCH] parisc: add __iomem to __raw_check_addr()
       [not found] ` <20051223093146.GT27946@ftp.linux.org.uk>
@ 2005-12-23 23:36   ` Alexey Dobriyan
  2005-12-23 23:39   ` [parisc-linux] [PATCH] include/asm-parisc/processor.h: C99 initializers Alexey Dobriyan
  2005-12-23 23:41   ` [parisc-linux] [PATCH] eisa_eeprom.c: __user annotations Alexey Dobriyan
  2 siblings, 0 replies; 4+ messages in thread
From: Alexey Dobriyan @ 2005-12-23 23:36 UTC (permalink / raw)
  To: Al Viro; +Cc: parisc-linux

Nukes ~13809 sparse warnings on allmodconfig.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

 include/asm-parisc/io.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/include/asm-parisc/io.h
+++ b/include/asm-parisc/io.h
@@ -41,7 +41,7 @@ extern void __raw_bad_addr(const volatil
 #define __raw_check_addr(addr)					\
 	if (((unsigned long)addr >> NYBBLE_SHIFT) != 0xe)	\
 		__raw_bad_addr(addr);			\
-	addr = (void *)((unsigned long)addr | (0xfUL << NYBBLE_SHIFT));
+	addr = (void __iomem *)((unsigned long)addr | (0xfUL << NYBBLE_SHIFT));
 #else
 #define gsc_check_addr(addr)
 #define __raw_check_addr(addr)

_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

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

* [parisc-linux] [PATCH] include/asm-parisc/processor.h: C99 initializers
       [not found] ` <20051223093146.GT27946@ftp.linux.org.uk>
  2005-12-23 23:36   ` [parisc-linux] [PATCH] parisc: add __iomem to __raw_check_addr() Alexey Dobriyan
@ 2005-12-23 23:39   ` Alexey Dobriyan
  2005-12-23 23:41   ` [parisc-linux] [PATCH] eisa_eeprom.c: __user annotations Alexey Dobriyan
  2 siblings, 0 replies; 4+ messages in thread
From: Alexey Dobriyan @ 2005-12-23 23:39 UTC (permalink / raw)
  To: Al Viro; +Cc: parisc-linux

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

 include/asm-parisc/processor.h |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

--- a/include/asm-parisc/processor.h
+++ b/include/asm-parisc/processor.h
@@ -144,16 +144,16 @@ struct thread_struct {
         })
 
 #define INIT_THREAD { \
-	regs:	{	gr: { 0, }, \
-			fr: { 0, }, \
-			sr: { 0, }, \
-			iasq: { 0, }, \
-			iaoq: { 0, }, \
-			cr27: 0, \
+	.regs = {	.gr	= { 0, }, \
+			.fr	= { 0, }, \
+			.sr	= { 0, }, \
+			.iasq	= { 0, }, \
+			.iaoq	= { 0, }, \
+			.cr27	= 0, \
 		}, \
-	task_size:      DEFAULT_TASK_SIZE, \
-	map_base:       DEFAULT_MAP_BASE, \
-	flags:          0 \
+	.task_size	= DEFAULT_TASK_SIZE, \
+	.map_base	= DEFAULT_MAP_BASE, \
+	.flags		= 0 \
 	}
 
 /*

_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

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

* [parisc-linux] [PATCH] eisa_eeprom.c: __user annotations
       [not found] ` <20051223093146.GT27946@ftp.linux.org.uk>
  2005-12-23 23:36   ` [parisc-linux] [PATCH] parisc: add __iomem to __raw_check_addr() Alexey Dobriyan
  2005-12-23 23:39   ` [parisc-linux] [PATCH] include/asm-parisc/processor.h: C99 initializers Alexey Dobriyan
@ 2005-12-23 23:41   ` Alexey Dobriyan
  2005-12-24  2:23     ` Matthew Wilcox
  2 siblings, 1 reply; 4+ messages in thread
From: Alexey Dobriyan @ 2005-12-23 23:41 UTC (permalink / raw)
  To: Al Viro; +Cc: parisc-linux

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

 drivers/parisc/eisa_eeprom.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/parisc/eisa_eeprom.c
+++ b/drivers/parisc/eisa_eeprom.c
@@ -48,7 +48,7 @@ static loff_t eisa_eeprom_llseek(struct 
 }
 
 static ssize_t eisa_eeprom_read(struct file * file,
-			      char *buf, size_t count, loff_t *ppos )
+			      char __user *buf, size_t count, loff_t *ppos )
 {
 	unsigned char *tmp;
 	ssize_t ret;

_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

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

* Re: [parisc-linux] [PATCH] eisa_eeprom.c: __user annotations
  2005-12-23 23:41   ` [parisc-linux] [PATCH] eisa_eeprom.c: __user annotations Alexey Dobriyan
@ 2005-12-24  2:23     ` Matthew Wilcox
  0 siblings, 0 replies; 4+ messages in thread
From: Matthew Wilcox @ 2005-12-24  2:23 UTC (permalink / raw)
  To: Alexey Dobriyan; +Cc: parisc-linux, Al Viro

On Sat, Dec 24, 2005 at 02:41:30AM +0300, Alexey Dobriyan wrote:
> Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>

I've added these three patches to the parisc tree; thanks.
I expect they'll go in before 2.6.16-rc1.

_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

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

end of thread, other threads:[~2005-12-24  2:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20051222101523.GP27946@ftp.linux.org.uk>
     [not found] ` <20051223093146.GT27946@ftp.linux.org.uk>
2005-12-23 23:36   ` [parisc-linux] [PATCH] parisc: add __iomem to __raw_check_addr() Alexey Dobriyan
2005-12-23 23:39   ` [parisc-linux] [PATCH] include/asm-parisc/processor.h: C99 initializers Alexey Dobriyan
2005-12-23 23:41   ` [parisc-linux] [PATCH] eisa_eeprom.c: __user annotations Alexey Dobriyan
2005-12-24  2:23     ` Matthew Wilcox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox