lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 29 Aug 2016 04:21:48 +0800
From:   kbuild test robot <lkp@...el.com>
To:     chengang@...ndsoft.com.cn
Cc:     kbuild-all@...org, akpm@...ux-foundation.org, minchan@...nel.org,
        vbabka@...e.cz, gi-oh.kim@...fitbricks.com, iamjoonsoo.kim@....com,
        hillf.zj@...baba-inc.com, mgorman@...hsingularity.net,
        mhocko@...e.com, rientjes@...gle.com, linux-kernel@...r.kernel.org,
        rth@...ddle.net, ink@...assic.park.msu.ru, mattst88@...il.com,
        vgupta@...opsys.com, linux@...linux.org.uk,
        catalin.marinas@....com, will.deacon@....com,
        hskinnemoen@...il.com, egtvedt@...fundet.no, realmz6@...il.com,
        ysato@...rs.sourceforge.jp, rkuo@...eaurora.org,
        tony.luck@...el.com, fenghua.yu@...el.com, geert@...ux-m68k.org,
        james.hogan@...tec.com, ralf@...ux-mips.org, dhowells@...hat.com,
        deller@....de, benh@...nel.crashing.org, paulus@...ba.org,
        mpe@...erman.id.au, schwidefsky@...ibm.com,
        heiko.carstens@...ibm.com, dalias@...c.org, davem@...emloft.net,
        cmetcalf@...lanox.com, chris@...kel.net, jcmvbkbc@...il.com,
        arnd@...db.de, noamc@...hip.com, brueckner@...ux.vnet.ibm.com,
        mingo@...nel.org, peterz@...radead.org, linux-arch@...r.kernel.org,
        Chen Gang <gang.chen.5i5j@...il.com>
Subject: Re: [PATCH v2] arch: all: include: asm: bitops: Use bool instead of
 int for all bit test functions

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-include-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@...e.de>
:::::: CC: Karsten Keil <kkeil@...e.de>

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

Download attachment ".config.gz" of type "application/octet-stream" (37476 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ