drivers/net/wireless/ath/ath10k/core.c:79: warning: comparison is always true due to limited range of data type

Fengguang Wu fengguang.wu at intel.com
Mon Jul 15 09:43:37 EDT 2013


On Mon, Jul 15, 2013 at 04:22:16PM +0300, Kalle Valo wrote:
> Hi Fengguang,
> 
> Fengguang Wu <fengguang.wu at intel.com> writes:
> 
> > FYI, there are new compile warnings show up in
> >
> > tree:   git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head:   6d128e1e72bf082542e85f72e6b7ddd704193588
> > commit: 5e3dd157d7e70f0e3cea3f2573ed69fb156a19d5 ath10k: mac80211 driver for Qualcomm Atheros 802.11ac CQA98xx devices
> > date:   4 weeks ago
> > config: make ARCH=avr32 allyesconfig
> >
> > All warnings:
> >
> >    In file included from include/uapi/linux/param.h:4,
> >                     from include/linux/timex.h:63,
> >                     from include/linux/jiffies.h:8,
> >                     from include/linux/ktime.h:25,
> >                     from include/linux/timer.h:5,
> >                     from include/linux/workqueue.h:8,
> >                     from include/linux/srcu.h:34,
> >                     from include/linux/notifier.h:15,
> >                     from include/linux/memory_hotplug.h:6,
> >                     from include/linux/mmzone.h:771,
> >                     from include/linux/gfp.h:4,
> >                     from include/linux/kmod.h:22,
> >                     from include/linux/module.h:13,
> >                     from drivers/net/wireless/ath/ath10k/core.c:18:
> >    arch/avr32/include/asm/param.h:6:1: warning: "HZ" redefined
> 
> This doesn't look like fault of ath10k.

Yes, sorry - I should mention that only the lines prefixed with ">>"
are new error/warnings probably related to the commit.

Thanks,
Fengguang



More information about the ath10k mailing list