linux-5.4-rc2/drivers/video/fbdev/amifb.c:1875: bad expression ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux