Re: [Intel-wired-lan] [PATCH iwl-next v2 06/15] ice: field prep conversion

2023-12-12 Thread Pucha, HimasekharX Reddy
.@linux.intel.com; > ho...@kernel.org; net...@vger.kernel.org > Subject: [Intel-wired-lan] [PATCH iwl-next v2 06/15] ice: field prep > conversion > > Refactor ice driver to use FIELD_PREP(), which reduces lines of code > and adds clarity of intent. > > This code was generat

[Intel-wired-lan] [PATCH iwl-next v2 06/15] ice: field prep conversion

2023-12-05 Thread Jesse Brandeburg
Refactor ice driver to use FIELD_PREP(), which reduces lines of code and adds clarity of intent. This code was generated by the following coccinelle/spatch script and then manually repaired. Several places I changed to OR into a single variable with |= instead of using a multi-line statement with