RE: [PATCH v2 09/11] net: mvpp2: simplify MVPP2_PRS_RI_* definitions

2017-01-04 Thread David Laight
From: Thomas Petazzoni > Sent: 27 December 2016 16:54 > Some of the MVPP2_PRS_RI_* definitions use the ~(value) syntax, which > doesn't compile nicely on 64-bit. Moreover, those definitions are in > fact unneeded, since they are always used in combination with a bit > mask that ensures only the app

[PATCH v2 09/11] net: mvpp2: simplify MVPP2_PRS_RI_* definitions

2016-12-27 Thread Thomas Petazzoni
Some of the MVPP2_PRS_RI_* definitions use the ~(value) syntax, which doesn't compile nicely on 64-bit. Moreover, those definitions are in fact unneeded, since they are always used in combination with a bit mask that ensures only the appropriate bits are modified. Therefore, such definitions shoul