All pastes #371908 Raw Edit

dr.bombay

public text v1 · immutable
#371908 ·published 2007-02-25 19:07 UTC
rendered paste body
***************
*** 575,581 ****
         struct rndis_halt       *halt;
  
         /* try to clear any rndis state/activity (no i/o from stack!) */
-        halt = kcalloc(1, sizeof *halt, SLAB_KERNEL);
         if (halt) {
                 halt->msg_type = RNDIS_MSG_HALT;
                 halt->msg_len = ccpu2(sizeof *halt);
--- 575,581 ----
         struct rndis_halt       *halt;
  
         /* try to clear any rndis state/activity (no i/o from stack!) */
+        halt = kcalloc(1, sizeof *halt, GFP_KERNEL);
         if (halt) {
                 halt->msg_type = RNDIS_MSG_HALT;
                 halt->msg_len = ccpu2(sizeof *halt);