Messages in this thread | | | Date | Mon, 14 Aug 2000 14:51:14 -0300 | From | Arnaldo Carvalho de Melo <> | Subject | Re: [PATCH] drivers/char/pcwd.c: kmalloc fixes |
| |
Em Mon, Aug 14, 2000 at 12:17:44PM -0500, Bill Wendling escreveu: > Also sprach Arnaldo Carvalho de Melo: > } > } Hi, > } > } Please take a look and consider applying. > } > } - Arnaldo > } > } @@ -503,9 +505,7 @@ > } static inline char *get_firmware(void) > } { > } int i, found = 0, count = 0, one, ten, hund, minor; > } - char *ret; > } - > } - ret = kmalloc(6, GFP_KERNEL); > } + static char ret[6]; > } > } while((count < 3) && (!found)) { > } outb_p(0x80, current_readport + 2); > } > Does this make the function non-parallel (threadable)?
possibly, does it need to be? Humm, more than one watchdog board, just to be sure 8) ok, I'll take a look.
- Arnaldo
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |