Searched hist:ee145f66e77ac89cc8d98550a14b9972daf22925 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/gpu/drm/i915/gvt/ |
H A D | edid.h | diff ee145f66e77ac89cc8d98550a14b9972daf22925 Sun Nov 13 20:32:58 CST 2016 Zhenyu Wang <zhenyuw@linux.intel.com> drm/i915/gvt: Fix static checker warning on intel_gvt_i2c_handle_aux_ch_write()
Static checker gave warning on:
drivers/gpu/drm/i915/gvt/edid.c:506 intel_gvt_i2c_handle_aux_ch_write() warn: odd binop '0x0 & 0xff'
We try to return ACK for I2C reply which is defined with 0. Remove bit shift which caused misleading bit op.
Cc: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
|
H A D | edid.c | diff ee145f66e77ac89cc8d98550a14b9972daf22925 Sun Nov 13 20:32:58 CST 2016 Zhenyu Wang <zhenyuw@linux.intel.com> drm/i915/gvt: Fix static checker warning on intel_gvt_i2c_handle_aux_ch_write()
Static checker gave warning on:
drivers/gpu/drm/i915/gvt/edid.c:506 intel_gvt_i2c_handle_aux_ch_write() warn: odd binop '0x0 & 0xff'
We try to return ACK for I2C reply which is defined with 0. Remove bit shift which caused misleading bit op.
Cc: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
|