From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753137AbcHNMXY (ORCPT ); Sun, 14 Aug 2016 08:23:24 -0400 Received: from smtprelay0056.hostedemail.com ([216.40.44.56]:40982 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752755AbcHNMXX (ORCPT ); Sun, 14 Aug 2016 08:23:23 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 50,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::,RULES_HIT:41:196:355:379:541:599:967:973:988:989:1260:1263:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1538:1567:1593:1594:1622:1711:1714:1730:1747:1777:1792:2393:2525:2561:2564:2682:2685:2828:2859:2895:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3622:3865:3867:3871:3872:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4321:4362:5007:6119:6671:9025:10004:10400:10848:11232:11658:11914:12043:12517:12519:12555:12740:13007:13025:13069:13255:13311:13357:13439:14181:14659:14721:14764:21080:21451:30054:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: veil03_3a1cfc4368d4a X-Filterd-Recvd-Size: 1783 Message-ID: <1471177398.5201.9.camel@perches.com> Subject: Re: [PATCH] Staging: rtl8723au: os_intfs: fixed case statement is variable issue From: Joe Perches To: Johannes Berg , sunbing , Jes Sorensen Cc: Larry.Finger@lwfinger.net, gregkh@linuxfoundation.org, linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, sunbing.linux@gmail.com Date: Sun, 14 Aug 2016 05:23:18 -0700 In-Reply-To: <1471176951.5903.6.camel@sipsolutions.net> References: <1470924695-14931-1-git-send-email-sunbing@redflag-linux.com> <7FC388BC-FD87-44C6-87D3-AC041F1393DB@redflag-linux.com> <1471176423.5201.7.camel@perches.com> <1471176951.5903.6.camel@sipsolutions.net> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.2-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 kernel to fix it: > > https://www.ozlabs.org/~akpm/mmotm/broken-out/byteswap-dont-use-__builtin_bswap-with-sparse.patch Thanks. Maybe this test should be sparse version checked after sparse is updated.