]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/n_tty.c
[DCCP]: Check if already in the CLOSING state in dccp_rcv_closereq
[linux-2.6-omap-h63xx.git] / drivers / char / n_tty.c
index 09103b3d8f05a26beae37b61d6160ccfb7911fc2..c9bdf544ed2cd1126f6d67840c082ee6bb53d42e 100644 (file)
@@ -62,7 +62,7 @@
 
 static inline unsigned char *alloc_buf(void)
 {
-       int prio = in_interrupt() ? GFP_ATOMIC : GFP_KERNEL;
+       unsigned int prio = in_interrupt() ? GFP_ATOMIC : GFP_KERNEL;
 
        if (PAGE_SIZE != N_TTY_BUF_SIZE)
                return kmalloc(N_TTY_BUF_SIZE, prio);