staging/dgap/dgap.c:981: bad if test ?

David Binderman dcb314 at hotmail.com
Thu Jan 22 10:05:53 UTC 2015


Hello there,

[linux-3.19-rc5/drivers/staging/dgap/dgap.c:981]: (warning) Logical disjunction always evaluates to true: conc_type != 65 || conc_type != 66.

Source code is

            if (conc_type == 0 || conc_type != CX ||
                conc_type != EPC) {

Suggest code rework.

Regards

David Binderman

 		 	   		  


More information about the devel mailing list