[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-arch
Subject:    Re: [PATCH v2] arch: all: include: asm: bitops: Use bool instead of int for all bit test functions
From:       kbuild test robot <lkp () intel ! com>
Date:       2016-08-28 20:21:48
Message-ID: 201608290420.Q8M6EJJv%fengguang.wu () intel ! com
[Download RAW message or body]

Hi Chen,

[auto build test WARNING on linus/master]
[also build test WARNING on v4.8-rc3 next-20160825]
[if your patch is applied to the wrong git tree, please drop us a note to help \
improve the system] [Suggest to use git(>=2.9.0) format-patch --base=<commit> (or \
--base=auto for convenience) to record what (public, well-known) commit your patch \
series was built on] [Check https://git-scm.com/docs/git-format-patch for more \
information]

url:    https://github.com/0day-ci/linux/commits/chengang-emindsoft-com-cn/arch-all-in \
                clude-asm-bitops-Use-bool-instead-of-int-for-all-bit-test-functions/20160828-230301
                
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 4.9.0
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross \
-O ~/bin/make.cross  chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=m68k 

All warnings (new ones prefixed by >>):

   In file included from include/linux/bitops.h:36:0,
                    from include/linux/kernel.h:10,
                    from include/linux/list.h:8,
                    from include/linux/module.h:9,
                    from drivers/isdn/hardware/mISDN/hfcsusb.c:33:
   drivers/isdn/hardware/mISDN/hfcsusb.c: In function 'hfcusb_l2l1D':
   arch/m68k/include/asm/bitops.h:201:43: warning: value computed is not used \
[-Wunused-value]  bset_mem_test_and_set_bit(nr, vaddr) : \
                                              ^
> > drivers/isdn/hardware/mISDN/hfcsusb.c:324:5: note: in expansion of macro \
> > 'test_and_set_bit'
        test_and_set_bit(FLG_L2_ACTIVATED,
        ^
   arch/m68k/include/asm/bitops.h:251:45: warning: value computed is not used \
[-Wunused-value]  bclr_mem_test_and_clear_bit(nr, vaddr) : \
                                                ^
> > drivers/isdn/hardware/mISDN/hfcsusb.c:337:3: note: in expansion of macro \
> > 'test_and_clear_bit'
      test_and_clear_bit(FLG_L2_ACTIVATED, &dch->Flags);
      ^
   arch/m68k/include/asm/bitops.h:251:45: warning: value computed is not used \
[-Wunused-value]  bclr_mem_test_and_clear_bit(nr, vaddr) : \
                                                ^
   drivers/isdn/hardware/mISDN/hfcsusb.c:352:4: note: in expansion of macro \
'test_and_clear_bit'  test_and_clear_bit(FLG_TX_BUSY, &dch->Flags);
       ^
   drivers/isdn/hardware/mISDN/hfcsusb.c: In function 'hfc_l1callback':
   arch/m68k/include/asm/bitops.h:251:45: warning: value computed is not used \
[-Wunused-value]  bclr_mem_test_and_clear_bit(nr, vaddr) : \
                                                ^
   drivers/isdn/hardware/mISDN/hfcsusb.c:401:3: note: in expansion of macro \
'test_and_clear_bit'  test_and_clear_bit(FLG_TX_BUSY, &dch->Flags);
      ^
   arch/m68k/include/asm/bitops.h:201:43: warning: value computed is not used \
[-Wunused-value]  bset_mem_test_and_set_bit(nr, vaddr) : \
                                              ^
   drivers/isdn/hardware/mISDN/hfcsusb.c:404:3: note: in expansion of macro \
'test_and_set_bit'  test_and_set_bit(FLG_ACTIVE, &dch->Flags);
      ^
   arch/m68k/include/asm/bitops.h:251:45: warning: value computed is not used \
[-Wunused-value]  bclr_mem_test_and_clear_bit(nr, vaddr) : \
                                                ^
   drivers/isdn/hardware/mISDN/hfcsusb.c:409:3: note: in expansion of macro \
'test_and_clear_bit'  test_and_clear_bit(FLG_ACTIVE, &dch->Flags);
      ^
   drivers/isdn/hardware/mISDN/hfcsusb.c: In function 'open_dchannel':
   arch/m68k/include/asm/bitops.h:251:45: warning: value computed is not used \
[-Wunused-value]  bclr_mem_test_and_clear_bit(nr, vaddr) : \
                                                ^
   drivers/isdn/hardware/mISDN/hfcsusb.c:436:2: note: in expansion of macro \
'test_and_clear_bit'  test_and_clear_bit(FLG_ACTIVE, &hw->dch.Flags);
     ^
   arch/m68k/include/asm/bitops.h:251:45: warning: value computed is not used \
[-Wunused-value]  bclr_mem_test_and_clear_bit(nr, vaddr) : \
                                                ^
   drivers/isdn/hardware/mISDN/hfcsusb.c:437:2: note: in expansion of macro \
'test_and_clear_bit'  test_and_clear_bit(FLG_ACTIVE, &hw->ech.Flags);
     ^
   drivers/isdn/hardware/mISDN/hfcsusb.c: In function 'ph_state_nt':
   arch/m68k/include/asm/bitops.h:251:45: warning: value computed is not used \
[-Wunused-value]  bclr_mem_test_and_clear_bit(nr, vaddr) : \
                                                ^
   drivers/isdn/hardware/mISDN/hfcsusb.c:641:3: note: in expansion of macro \
'test_and_clear_bit'  test_and_clear_bit(FLG_ACTIVE, &dch->Flags);
      ^
   arch/m68k/include/asm/bitops.h:251:45: warning: value computed is not used \
[-Wunused-value]  bclr_mem_test_and_clear_bit(nr, vaddr) : \
                                                ^
   drivers/isdn/hardware/mISDN/hfcsusb.c:642:3: note: in expansion of macro \
'test_and_clear_bit'  test_and_clear_bit(FLG_L2_ACTIVATED, &dch->Flags);
      ^
   arch/m68k/include/asm/bitops.h:201:43: warning: value computed is not used \
[-Wunused-value]  bset_mem_test_and_set_bit(nr, vaddr) : \
                                              ^
   drivers/isdn/hardware/mISDN/hfcsusb.c:663:3: note: in expansion of macro \
'test_and_set_bit'  test_and_set_bit(FLG_ACTIVE, &dch->Flags);
      ^
   drivers/isdn/hardware/mISDN/hfcsusb.c: In function 'rx_iso_complete':
   arch/m68k/include/asm/bitops.h:201:43: warning: value computed is not used \
[-Wunused-value]  bset_mem_test_and_set_bit(nr, vaddr) : \
                                              ^
> > include/linux/mISDNhw.h:83:6: note: in expansion of macro 'test_and_set_bit'
         test_and_set_bit(ev, &((s)->Flags)); \
         ^
> > drivers/isdn/hardware/mISDN/hfcsusb.c:1068:4: note: in expansion of macro \
> > 'schedule_event'
       schedule_event(&hw->dch, FLG_PHCHANGE);
       ^
   drivers/isdn/hardware/mISDN/hfcsusb.c: In function 'rx_int_complete':
   arch/m68k/include/asm/bitops.h:201:43: warning: value computed is not used \
[-Wunused-value]  bset_mem_test_and_set_bit(nr, vaddr) : \
                                              ^
> > include/linux/mISDNhw.h:83:6: note: in expansion of macro 'test_and_set_bit'
         test_and_set_bit(ev, &((s)->Flags)); \
         ^
   drivers/isdn/hardware/mISDN/hfcsusb.c:1139:4: note: in expansion of macro \
'schedule_event'  schedule_event(&hw->dch, FLG_PHCHANGE);
       ^
   drivers/isdn/hardware/mISDN/hfcsusb.c: In function 'tx_iso_complete':
   arch/m68k/include/asm/bitops.h:201:43: warning: value computed is not used \
[-Wunused-value]  bset_mem_test_and_set_bit(nr, vaddr) : \
                                              ^
> > include/linux/mISDNhw.h:83:6: note: in expansion of macro 'test_and_set_bit'
         test_and_set_bit(ev, &((s)->Flags)); \
         ^
   drivers/isdn/hardware/mISDN/hfcsusb.c:1368:5: note: in expansion of macro \
'schedule_event'  schedule_event(&hw->dch, FLG_PHCHANGE);
        ^
   drivers/isdn/hardware/mISDN/hfcsusb.c: In function 'hfc_bctrl':
   arch/m68k/include/asm/bitops.h:251:45: warning: value computed is not used \
[-Wunused-value]  bclr_mem_test_and_clear_bit(nr, vaddr) : \
                                                ^
   drivers/isdn/hardware/mISDN/hfcsusb.c:1814:3: note: in expansion of macro \
'test_and_clear_bit'  test_and_clear_bit(FLG_OPEN, &bch->Flags);
      ^
--
   In file included from include/linux/bitops.h:36:0,
                    from include/linux/kernel.h:10,
                    from include/linux/list.h:8,
                    from include/linux/timer.h:4,
                    from drivers/isdn/hisax/config.c:19:
   drivers/isdn/hisax/config.c: In function 'hisax_cs_new':
   arch/m68k/include/asm/bitops.h:201:43: warning: value computed is not used \
[-Wunused-value]  bset_mem_test_and_set_bit(nr, vaddr) : \
                                              ^
> > drivers/isdn/hisax/config.c:1051:3: note: in expansion of macro \
> > 'test_and_set_bit'
      test_and_set_bit(FLG_TWO_DCHAN, &cs->HW_Flags);
      ^
   drivers/isdn/hisax/config.c: In function 'hisax_b_l1l2':
   arch/m68k/include/asm/bitops.h:201:43: warning: value computed is not used \
[-Wunused-value]  bset_mem_test_and_set_bit(nr, vaddr) : \
                                              ^
> > drivers/isdn/hisax/hisax.h:972:36: note: in expansion of macro 'test_and_set_bit'
    #define schedule_event(s, ev) do { test_and_set_bit(ev, &s->event); \
schedule_work(&s->tqueue); } while (0)  ^
> > drivers/isdn/hisax/config.c:1764:4: note: in expansion of macro 'schedule_event'
       schedule_event(bcs, B_ACKPENDING);
       ^
   drivers/isdn/hisax/config.c: In function 'hisax_b_l2l1':
   arch/m68k/include/asm/bitops.h:251:45: warning: value computed is not used \
[-Wunused-value]  bclr_mem_test_and_clear_bit(nr, vaddr) : \
                                                ^
> > drivers/isdn/hisax/config.c:1844:3: note: in expansion of macro \
> > 'test_and_clear_bit'
      test_and_clear_bit(BC_FLG_BUSY, &bcs->Flag);
      ^
--
   In file included from include/linux/bitops.h:36:0,
                    from include/linux/kernel.h:10,
                    from include/asm-generic/bug.h:13,
                    from arch/m68k/include/asm/bug.h:28,
                    from include/linux/bug.h:4,
                    from include/linux/mmdebug.h:4,
                    from include/linux/gfp.h:4,
                    from drivers/isdn/hisax/isdnl1.c:22:
   drivers/isdn/hisax/isdnl1.c: In function 'L1deactivated':
   arch/m68k/include/asm/bitops.h:251:45: warning: value computed is not used \
[-Wunused-value]  bclr_mem_test_and_clear_bit(nr, vaddr) : \
                                                ^
> > drivers/isdn/hisax/isdnl1.c:182:2: note: in expansion of macro \
> > 'test_and_clear_bit'
     test_and_clear_bit(FLG_L1_DBUSY, &cs->HW_Flags);
     ^
   drivers/isdn/hisax/isdnl1.c: In function 'l1_deact_req_s':
   arch/m68k/include/asm/bitops.h:201:43: warning: value computed is not used \
[-Wunused-value]  bset_mem_test_and_set_bit(nr, vaddr) : \
                                              ^
> > drivers/isdn/hisax/isdnl1.c:480:2: note: in expansion of macro 'test_and_set_bit'
     test_and_set_bit(FLG_L1_DEACTTIMER, &st->l1.Flags);
     ^
   drivers/isdn/hisax/isdnl1.c: In function 'l1_power_up_s':
   arch/m68k/include/asm/bitops.h:201:43: warning: value computed is not used \
[-Wunused-value]  bset_mem_test_and_set_bit(nr, vaddr) : \
                                              ^
   drivers/isdn/hisax/isdnl1.c:492:3: note: in expansion of macro 'test_and_set_bit'
      test_and_set_bit(FLG_L1_T3RUN, &st->l1.Flags);
      ^
   drivers/isdn/hisax/isdnl1.c: In function 'l1_info4_ind':
   arch/m68k/include/asm/bitops.h:201:43: warning: value computed is not used \
[-Wunused-value]  bset_mem_test_and_set_bit(nr, vaddr) : \
                                              ^
   drivers/isdn/hisax/isdnl1.c:541:3: note: in expansion of macro 'test_and_set_bit'
      test_and_set_bit(FLG_L1_ACTTIMER, &st->l1.Flags);
      ^
   drivers/isdn/hisax/isdnl1.c: In function 'l1_timer3':
   arch/m68k/include/asm/bitops.h:251:45: warning: value computed is not used \
[-Wunused-value]  bclr_mem_test_and_clear_bit(nr, vaddr) : \
                                                ^
   drivers/isdn/hisax/isdnl1.c:550:2: note: in expansion of macro \
'test_and_clear_bit'  test_and_clear_bit(FLG_L1_T3RUN, &st->l1.Flags);
     ^
   drivers/isdn/hisax/isdnl1.c: In function 'l1_timer_act':
   arch/m68k/include/asm/bitops.h:251:45: warning: value computed is not used \
[-Wunused-value]  bclr_mem_test_and_clear_bit(nr, vaddr) : \
                                                ^
   drivers/isdn/hisax/isdnl1.c:568:2: note: in expansion of macro \
'test_and_clear_bit'  test_and_clear_bit(FLG_L1_ACTTIMER, &st->l1.Flags);
     ^
   arch/m68k/include/asm/bitops.h:201:43: warning: value computed is not used \
[-Wunused-value]  bset_mem_test_and_set_bit(nr, vaddr) : \
                                              ^
   drivers/isdn/hisax/isdnl1.c:569:2: note: in expansion of macro 'test_and_set_bit'
     test_and_set_bit(FLG_L1_ACTIVATED, &st->l1.Flags);
     ^
   drivers/isdn/hisax/isdnl1.c: In function 'l1_timer_deact':
   arch/m68k/include/asm/bitops.h:251:45: warning: value computed is not used \
[-Wunused-value]  bclr_mem_test_and_clear_bit(nr, vaddr) : \
                                                ^
   drivers/isdn/hisax/isdnl1.c:578:2: note: in expansion of macro \
'test_and_clear_bit'  test_and_clear_bit(FLG_L1_DEACTTIMER, &st->l1.Flags);
     ^
   arch/m68k/include/asm/bitops.h:251:45: warning: value computed is not used \
[-Wunused-value]  bclr_mem_test_and_clear_bit(nr, vaddr) : \
                                                ^
   drivers/isdn/hisax/isdnl1.c:579:2: note: in expansion of macro \
'test_and_clear_bit'  test_and_clear_bit(FLG_L1_ACTIVATED, &st->l1.Flags);
     ^
   drivers/isdn/hisax/isdnl1.c: In function 'l1_activate_no':
   arch/m68k/include/asm/bitops.h:251:45: warning: value computed is not used \
[-Wunused-value]  bclr_mem_test_and_clear_bit(nr, vaddr) : \
                                                ^
   drivers/isdn/hisax/isdnl1.c:598:3: note: in expansion of macro \
'test_and_clear_bit'  test_and_clear_bit(FLG_L1_ACTIVATING, &st->l1.Flags);
      ^
   drivers/isdn/hisax/isdnl1.c: In function 'dch_l2l1':
   arch/m68k/include/asm/bitops.h:201:43: warning: value computed is not used \
[-Wunused-value]  bset_mem_test_and_set_bit(nr, vaddr) : \
                                              ^
   drivers/isdn/hisax/isdnl1.c:818:4: note: in expansion of macro 'test_and_set_bit'
       test_and_set_bit(FLG_L1_ACTIVATING, &st->l1.Flags);
       ^
--
   In file included from include/linux/bitops.h:36:0,
                    from include/linux/kernel.h:10,
                    from include/asm-generic/bug.h:13,
                    from arch/m68k/include/asm/bug.h:28,
                    from include/linux/bug.h:4,
                    from include/linux/mmdebug.h:4,
                    from include/linux/gfp.h:4,
                    from drivers/isdn/hisax/isdnl2.c:19:
   drivers/isdn/hisax/isdnl2.c: In function 'set_peer_busy':
   arch/m68k/include/asm/bitops.h:201:43: warning: value computed is not used \
[-Wunused-value]  bset_mem_test_and_set_bit(nr, vaddr) : \
                                              ^
> > drivers/isdn/hisax/isdnl2.c:111:2: note: in expansion of macro 'test_and_set_bit'
     test_and_set_bit(FLG_PEER_BUSY, &l2->flag);
     ^
   arch/m68k/include/asm/bitops.h:201:43: warning: value computed is not used \
[-Wunused-value]  bset_mem_test_and_set_bit(nr, vaddr) : \
                                              ^
   drivers/isdn/hisax/isdnl2.c:114:3: note: in expansion of macro 'test_and_set_bit'
      test_and_set_bit(FLG_L2BLOCK, &l2->flag);
      ^
   drivers/isdn/hisax/isdnl2.c: In function 'clear_peer_busy':
   arch/m68k/include/asm/bitops.h:251:45: warning: value computed is not used \
[-Wunused-value]  bclr_mem_test_and_clear_bit(nr, vaddr) : \
                                                ^
> > drivers/isdn/hisax/isdnl2.c:120:3: note: in expansion of macro \
> > 'test_and_clear_bit'
      test_and_clear_bit(FLG_L2BLOCK, &l2->flag);
      ^
   drivers/isdn/hisax/isdnl2.c: In function 'clear_exception':
   arch/m68k/include/asm/bitops.h:251:45: warning: value computed is not used \
[-Wunused-value]  bclr_mem_test_and_clear_bit(nr, vaddr) : \
                                                ^
   drivers/isdn/hisax/isdnl2.c:177:2: note: in expansion of macro \
'test_and_clear_bit'  test_and_clear_bit(FLG_ACK_PEND, &l2->flag);
     ^
   arch/m68k/include/asm/bitops.h:251:45: warning: value computed is not used \
[-Wunused-value]  bclr_mem_test_and_clear_bit(nr, vaddr) : \
                                                ^
   drivers/isdn/hisax/isdnl2.c:178:2: note: in expansion of macro \
'test_and_clear_bit'  test_and_clear_bit(FLG_REJEXC, &l2->flag);
     ^
   arch/m68k/include/asm/bitops.h:251:45: warning: value computed is not used \
[-Wunused-value]  bclr_mem_test_and_clear_bit(nr, vaddr) : \
                                                ^
   drivers/isdn/hisax/isdnl2.c:179:2: note: in expansion of macro \
'test_and_clear_bit'  test_and_clear_bit(FLG_OWN_BUSY, &l2->flag);
     ^
   drivers/isdn/hisax/isdnl2.c: In function 'start_t200':
   arch/m68k/include/asm/bitops.h:201:43: warning: value computed is not used \
[-Wunused-value]  bset_mem_test_and_set_bit(nr, vaddr) : \
                                              ^
   drivers/isdn/hisax/isdnl2.c:460:2: note: in expansion of macro 'test_and_set_bit'
     test_and_set_bit(FLG_T200_RUN, &st->l2.flag);
     ^
   drivers/isdn/hisax/isdnl2.c: In function 'restart_t200':
   arch/m68k/include/asm/bitops.h:201:43: warning: value computed is not used \
[-Wunused-value]  bset_mem_test_and_set_bit(nr, vaddr) : \
                                              ^
   drivers/isdn/hisax/isdnl2.c:467:2: note: in expansion of macro 'test_and_set_bit'
     test_and_set_bit(FLG_T200_RUN, &st->l2.flag);
     ^
   drivers/isdn/hisax/isdnl2.c: In function 'establishlink':
   arch/m68k/include/asm/bitops.h:251:45: warning: value computed is not used \
[-Wunused-value]  bclr_mem_test_and_clear_bit(nr, vaddr) : \
                                                ^
   drivers/isdn/hisax/isdnl2.c:510:2: note: in expansion of macro \
'test_and_clear_bit'  test_and_clear_bit(FLG_PEND_REL, &st->l2.flag);
     ^
   drivers/isdn/hisax/isdnl2.c: In function 'l2_mdl_error_dm':
   arch/m68k/include/asm/bitops.h:251:45: warning: value computed is not used \
[-Wunused-value]  bclr_mem_test_and_clear_bit(nr, vaddr) : \
                                                ^
   drivers/isdn/hisax/isdnl2.c:538:3: note: in expansion of macro \
'test_and_clear_bit'  test_and_clear_bit(FLG_L3_INIT, &st->l2.flag);
      ^
   drivers/isdn/hisax/isdnl2.c: In function 'l2_st8_mdl_error_dm':
   arch/m68k/include/asm/bitops.h:251:45: warning: value computed is not used \
[-Wunused-value]  bclr_mem_test_and_clear_bit(nr, vaddr) : \
                                                ^
   drivers/isdn/hisax/isdnl2.c:554:2: note: in expansion of macro \
'test_and_clear_bit'  test_and_clear_bit(FLG_L3_INIT, &st->l2.flag);
     ^
   drivers/isdn/hisax/isdnl2.c: In function 'l2_establish':
   arch/m68k/include/asm/bitops.h:201:43: warning: value computed is not used \
[-Wunused-value]  bset_mem_test_and_set_bit(nr, vaddr) : \
                                              ^
   drivers/isdn/hisax/isdnl2.c:638:2: note: in expansion of macro 'test_and_set_bit'
     test_and_set_bit(FLG_L3_INIT, &st->l2.flag);
     ^
   drivers/isdn/hisax/isdnl2.c: In function 'l2_discard_i_setl3':
   arch/m68k/include/asm/bitops.h:201:43: warning: value computed is not used \
[-Wunused-value]  bset_mem_test_and_set_bit(nr, vaddr) : \
                                              ^
   drivers/isdn/hisax/isdnl2.c:647:2: note: in expansion of macro 'test_and_set_bit'
     test_and_set_bit(FLG_L3_INIT, &st->l2.flag);
     ^
   arch/m68k/include/asm/bitops.h:251:45: warning: value computed is not used \
[-Wunused-value]  bclr_mem_test_and_clear_bit(nr, vaddr) : \
                                                ^
   drivers/isdn/hisax/isdnl2.c:648:2: note: in expansion of macro \
'test_and_clear_bit'  test_and_clear_bit(FLG_PEND_REL, &st->l2.flag);
     ^
   drivers/isdn/hisax/isdnl2.c: In function 'l2_l3_reestablish':
   arch/m68k/include/asm/bitops.h:201:43: warning: value computed is not used \
[-Wunused-value]  bset_mem_test_and_set_bit(nr, vaddr) : \
                                              ^
   drivers/isdn/hisax/isdnl2.c:658:2: note: in expansion of macro 'test_and_set_bit'
     test_and_set_bit(FLG_L3_INIT, &st->l2.flag);
     ^
   drivers/isdn/hisax/isdnl2.c: In function 'l2_pend_rel':
   arch/m68k/include/asm/bitops.h:201:43: warning: value computed is not used \
[-Wunused-value]  bset_mem_test_and_set_bit(nr, vaddr) : \
                                              ^
   drivers/isdn/hisax/isdnl2.c:674:2: note: in expansion of macro 'test_and_set_bit'
     test_and_set_bit(FLG_PEND_REL, &st->l2.flag);
     ^
   drivers/isdn/hisax/isdnl2.c: In function 'l2_reestablish':
   arch/m68k/include/asm/bitops.h:201:43: warning: value computed is not used \
[-Wunused-value]  bset_mem_test_and_set_bit(nr, vaddr) : \
                                              ^
   drivers/isdn/hisax/isdnl2.c:844:3: note: in expansion of macro 'test_and_set_bit'
      test_and_set_bit(FLG_L3_INIT, &st->l2.flag);
      ^
   drivers/isdn/hisax/isdnl2.c: In function 'enquiry_response':
   arch/m68k/include/asm/bitops.h:251:45: warning: value computed is not used \
[-Wunused-value]  bclr_mem_test_and_clear_bit(nr, vaddr) : \
..

vim +/test_and_set_bit +324 drivers/isdn/hardware/mISDN/hfcsusb.c

69f52adb Karsten Keil 2009-01-09  318  				_queue_data(&dch->dev.D,
69f52adb Karsten Keil 2009-01-09  319  					    PH_ACTIVATE_IND, MISDN_ID_ANY, 0,
69f52adb Karsten Keil 2009-01-09  320  					    NULL, GFP_ATOMIC);
69f52adb Karsten Keil 2009-01-09  321  			} else {
69f52adb Karsten Keil 2009-01-09  322  				hfcsusb_ph_command(hw,
69f52adb Karsten Keil 2009-01-09  323  						   HFC_L1_ACTIVATE_NT);
69f52adb Karsten Keil 2009-01-09 @324  				test_and_set_bit(FLG_L2_ACTIVATED,
69f52adb Karsten Keil 2009-01-09  325  						 &dch->Flags);
69f52adb Karsten Keil 2009-01-09  326  			}
69f52adb Karsten Keil 2009-01-09  327  		} else {
69f52adb Karsten Keil 2009-01-09  328  			hfcsusb_ph_command(hw, HFC_L1_ACTIVATE_TE);
69f52adb Karsten Keil 2009-01-09  329  			ret = l1_event(dch->l1, hh->prim);
69f52adb Karsten Keil 2009-01-09  330  		}
69f52adb Karsten Keil 2009-01-09  331  		break;
69f52adb Karsten Keil 2009-01-09  332  
69f52adb Karsten Keil 2009-01-09  333  	case PH_DEACTIVATE_REQ:
69f52adb Karsten Keil 2009-01-09  334  		if (debug & DBG_HFC_CALL_TRACE)
69f52adb Karsten Keil 2009-01-09  335  			printk(KERN_DEBUG "%s: %s: \
PH_DEACTIVATE_REQ\n", 69f52adb Karsten Keil 2009-01-09  336  			       hw->name, \
__func__); 69f52adb Karsten Keil 2009-01-09 @337  \
test_and_clear_bit(FLG_L2_ACTIVATED, &dch->Flags); 69f52adb Karsten Keil 2009-01-09  \
338   69f52adb Karsten Keil 2009-01-09  339  		if (hw->protocol == ISDN_P_NT_S0) {
69f52adb Karsten Keil 2009-01-09  340  			hfcsusb_ph_command(hw, \
HFC_L1_DEACTIVATE_NT);

> > > > > > The code at line 324 was first introduced by commit
> > > > > > 69f52adb2d534afc41fcc658f155e01f0b322f9e mISDN: Add HFC USB driver

> > > > > > TO: Karsten Keil <kkeil@suse.de>
> > > > > > CC: Karsten Keil <kkeil@suse.de>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation


[".config.gz" (application/octet-stream)]
--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic