2.5.53 : drivers/mtd/devices/blkmtd.c

2.5.53 : drivers/mtd/devices/blkmtd.c

Post by Frank Davi » Wed, 25 Dec 2002 21:20:06



Hello all,
  While 'make modules', I received the following error.
Regards,
Frank

drivers/mtd/devices/blkmtd.c:52:25: linux/iobuf.h: No such file or directory
drivers/mtd/devices/blkmtd.c: In function `blkmtd_readpage':
drivers/mtd/devices/blkmtd.c:218: warning: implicit declaration of function `alloc_kiovec'
drivers/mtd/devices/blkmtd.c:235: dereferencing pointer to incomplete type
drivers/mtd/devices/blkmtd.c:238: dereferencing pointer to incomplete type
drivers/mtd/devices/blkmtd.c:239: dereferencing pointer to incomplete type
drivers/mtd/devices/blkmtd.c:240: dereferencing pointer to incomplete type
drivers/mtd/devices/blkmtd.c:241: dereferencing pointer to incomplete type
drivers/mtd/devices/blkmtd.c:242: dereferencing pointer to incomplete type
drivers/mtd/devices/blkmtd.c:264: warning: implicit declaration of function `brw_kiovec'
drivers/mtd/devices/blkmtd.c:266: dereferencing pointer to incomplete type
drivers/mtd/devices/blkmtd.c:267: warning: implicit declaration of function `free_kiovec'
drivers/mtd/devices/blkmtd.c:168: warning: `blocks' might be used uninitialized in this function
drivers/mtd/devices/blkmtd.c: In function `write_queue_task':
drivers/mtd/devices/blkmtd.c:327: dereferencing pointer to incomplete type
drivers/mtd/devices/blkmtd.c:355: `KIO_MAX_SECTORS' undeclared (first use in this function)
drivers/mtd/devices/blkmtd.c:355: (Each undeclared identifier is reported only once
drivers/mtd/devices/blkmtd.c:355: for each function it appears in.)
drivers/mtd/devices/blkmtd.c:373: dereferencing pointer to incomplete type
drivers/mtd/devices/blkmtd.c:374: dereferencing pointer to incomplete type
drivers/mtd/devices/blkmtd.c:386: dereferencing pointer to incomplete type
drivers/mtd/devices/blkmtd.c:388: dereferencing pointer to incomplete type
drivers/mtd/devices/blkmtd.c:396: dereferencing pointer to incomplete type
drivers/mtd/devices/blkmtd.c:397: dereferencing pointer to incomplete type
drivers/mtd/devices/blkmtd.c:411: dereferencing pointer to incomplete type
drivers/mtd/devices/blkmtd.c:302: warning: `blocks' might be used uninitialized in this function
make[3]: *** [drivers/mtd/devices/blkmtd.o] Error 1
make[2]: *** [drivers/mtd/devices] Error 2
make[1]: *** [drivers/mtd] Error 2
make: *** [drivers] Error 2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. 2.5.53 : drivers/scsi/qlogicfc.c locking fixes

This is a small patch to fix the remaining deprecated
save_flags/cli/restore_flags construction in the qlogicfc.c scsi driver.

Please review.

                Paulo Andre'

---

--- qlogicfc.c.orig     2002-12-29 22:07:37.000000000 +0000

 #define TRACE_BUF_LEN  (32*1024)

+static spinlock_t qlogicfc_lock = SPIN_LOCK_UNLOCKED;
+      
 struct {
        u_long next;

 {                                                              \
        unsigned long flags;                                    \
                                                                \
-       save_flags(flags);                                      \
-       cli();                                                  \
+       spin_lock_irqsave(&qlogicfc_lock, flags);           \
        trace.buf[trace.next].name  = (w);                      \
        trace.buf[trace.next].time  = jiffies;                  \
        trace.buf[trace.next].index = (i);                      \
        trace.buf[trace.next].addr  = (long) (a);               \
        trace.next = (trace.next + 1) & (TRACE_BUF_LEN - 1);        \
-       restore_flags(flags);                                   \
+       spin_unlock_irqrestore(&qlogicfc_lock, flags);              \
 }

 #else
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. XF86Config Modeline question

3. 2.5.53 : drivers/net/wan/x25_asy.c

4. Case Tool wanted

5. 2.5.53 : drivers/net/pcmcia/3c574_cs.c

6. Linux on a Compaq LTE 5300 Laptop

7. aicasm: SIG 11 with 2.5.53 (new aic7xxx driver problem)

8. upgrade to 2.2.14-1.3.0smp kernel - can't get loopback device?

9. 2.5.53 : drivers/net/wan/sdla.c locking fixes

10. 2.5.53 : drivers/char/ftape/lowlevel/ftape-calibr.c

11. 2.5.53 with contest

12. 2.5.53 compile error

13. : 2.5.53 missing "include <linux/version.h>"