Re: [PATCH] Staging: rtl8723au: os_intfs: fixed case statement is variable issue

2016-08-14 Thread Johannes Berg
On Sun, 2016-08-14 at 05:23 -0700, Joe Perches wrote: >  > Maybe this test should be sparse version checked after > sparse is updated. *If* sparse ever gets updated :) I don't think it's been updated much lately. That said, I'm not even sure how, and what version, etc. so obviously that'd have to

Re: [PATCH v2] RANDOM: ATH9K RNG delivers zero bits of entropy

2016-08-14 Thread Jason Cooper
Hey Ted, On Wed, Aug 10, 2016 at 07:44:25PM -0400, Theodore Ts'o wrote: > On Tue, Aug 09, 2016 at 02:04:44PM +, Jason Cooper wrote: > > iiuc, Ted, you're saying using the hw_random framework would be > > disasterous because despite most drivers having a default quality of 0, > > rngd assumes 1

Re: [PATCH] Staging: rtl8723au: os_intfs: fixed case statement is variable issue

2016-08-14 Thread Joe Perches
On Sun, 2016-08-14 at 14:15 +0200, Johannes Berg wrote: > > > > It's a sparse defect. > > > > Try again after patching sparse with Jes' patch: > > http://marc.info/?l=linux-sparse&m=147091200720267&w=3 > Mine, not Jes's ;-) Right, sorry 'bout that. > But there's another patch going into the ker

Re: [PATCH] Staging: rtl8723au: os_intfs: fixed case statement is variable issue

2016-08-14 Thread Johannes Berg
> It's a sparse defect. > > Try again after patching sparse with Jes' patch: > http://marc.info/?l=linux-sparse&m=147091200720267&w=3 Mine, not Jes's ;-) But there's another patch going into the kernel to fix it: https://www.ozlabs.org/~akpm/mmotm/broken-out/byteswap-dont-use-__builtin_bswap-w

Re: [PATCH] Staging: rtl8723au: os_intfs: fixed case statement is variable issue

2016-08-14 Thread Joe Perches
On Sat, 2016-08-13 at 17:26 +0800, sunbing wrote: > On Aug 12, 2016, at 22:30, Jes Sorensen wrote: > > sunbing writes: > > > On Aug 11, 2016, at 23:25, Jes Sorensen wrote: > > > > Bing Sun writes: > > > > > > > > > > Fixed sparse parse error: > > > > > Expected constant expression in case stat

Re: pull-request: mac80211-next 2016-08-12

2016-08-14 Thread David Miller
From: Johannes Berg Date: Fri, 12 Aug 2016 11:20:45 +0200 > This first pull request is pretty small, but there's no point > in hanging on to it for long, so here it goes anyway. Nothing > all that interesting, I think. > > We might have a bunch of new APIs that were promised to me > coming up so

Re: [PATCH 00/16] net: don't print error when allocating urb fails

2016-08-14 Thread David Miller
From: Wolfram Sang Date: Thu, 11 Aug 2016 23:05:19 +0200 > This per-subsystem series is part of a tree wide cleanup. usb_alloc_urb() uses > kmalloc which already prints enough information on failure. So, let's simply > remove those "allocation failed" messages from drivers like we did already for