linux-5.4-rc2/drivers/video/fbdev/amifb.c:1875: bad expression ?
David Binderman
dcb314 at hotmail.com
Mon Oct 7 16:41:57 UTC 2019
Hello there,
linux-5.4-rc2/drivers/video/fbdev/amifb.c:1875:41: error: Expression '(*(lspr+delta)<<16)|(*lspr++)' depends on order of evaluation of side effects [unknownEvaluationOrder]
Source code is
datawords = (*(lspr + delta) << 16) | (*lspr++);
Maybe better code:
datawords = (*(lspr + delta) << 16) | (*lspr);
++lspr;
Regards
David Binderman
More information about the dri-devel
mailing list