From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 4A1921C242B for ; Thu, 22 Jan 2015 10:05:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 469FEA1515 for ; Thu, 22 Jan 2015 10:05:58 +0000 (UTC) Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EXN8KVakqxe4 for ; Thu, 22 Jan 2015 10:05:57 +0000 (UTC) Received: from DUB004-OMC3S26.hotmail.com (dub004-omc3s26.hotmail.com [157.55.2.35]) by fraxinus.osuosl.org (Postfix) with ESMTPS id CCF52A126E for ; Thu, 22 Jan 2015 10:05:56 +0000 (UTC) Message-ID: From: David Binderman Subject: staging/dgap/dgap.c:981: bad if test ? Date: Thu, 22 Jan 2015 10:05:53 +0000 MIME-Version: 1.0 List-Id: Linux Driver Project Developer List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" To: "driverdev-devel@linuxdriverproject.org" Hello there, [linux-3.19-rc5/drivers/staging/dgap/dgap.c:981]: (warning) Logical disjunc= tion always evaluates to true: conc_type !=3D 65 || conc_type !=3D 66. Source code is =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 if (conc_type =3D=3D 0 || conc_type !=3D = CX || =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 conc_type !=3D EPC) { Suggest code rework. Regards David Binderman = _______________________________________________ devel mailing list devel@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel