Commit cf5fcc7
committed
ice: Use FIELD_PREP for timestamp values
JIRA: https://issues.redhat.com/browse/RHEL-89579
Upstream commit(s):
commit ea7029f
Author: Karol Kolacinski <karol.kolacinski@intel.com>
Date: Mon Sep 30 14:12:40 2024 +0200
ice: Use FIELD_PREP for timestamp values
Instead of using shifts and casts, use FIELD_PREP after reading 40b
timestamp values.
Rename a couple defines for better clarity and consistency.
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Karol Kolacinski <karol.kolacinski@intel.com>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Petr Oros <poros@redhat.com>1 parent e6989b2 commit cf5fcc7
2 files changed
+11
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1576 | 1576 | | |
1577 | 1577 | | |
1578 | 1578 | | |
1579 | | - | |
1580 | | - | |
1581 | | - | |
| 1579 | + | |
| 1580 | + | |
1582 | 1581 | | |
1583 | 1582 | | |
1584 | 1583 | | |
| |||
3213 | 3212 | | |
3214 | 3213 | | |
3215 | 3214 | | |
3216 | | - | |
| 3215 | + | |
| 3216 | + | |
3217 | 3217 | | |
3218 | 3218 | | |
3219 | 3219 | | |
| |||
4979 | 4979 | | |
4980 | 4980 | | |
4981 | 4981 | | |
4982 | | - | |
| 4982 | + | |
| 4983 | + | |
4983 | 4984 | | |
4984 | 4985 | | |
4985 | 4986 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
654 | 654 | | |
655 | 655 | | |
656 | 656 | | |
657 | | - | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
658 | 662 | | |
659 | 663 | | |
660 | 664 | | |
661 | 665 | | |
662 | 666 | | |
663 | | - | |
664 | | - | |
665 | | - | |
666 | 667 | | |
667 | 668 | | |
668 | 669 | | |
| |||
0 commit comments