On 8/21/24 08:22, Maciej Fijalkowski wrote:
On Tue, Aug 20, 2024 at 06:15:24PM +0200, Dawid Osuchowski wrote:

@@ -7591,6 +7594,7 @@ static void ice_rebuild(struct ice_pf *pf, enum 
ice_reset_req reset_type)
  {
        struct device *dev = ice_pf_to_dev(pf);
        struct ice_hw *hw = &pf->hw;
+       struct ice_vsi *vsi = ice_get_main_vsi(pf);

we have an unwritten rule that is called 'reverse christmas tree' which
requires us to have declarations of variables sorted from longest to
shortest.

Hah, the rule is written down actually :P
https://docs.kernel.org/process/maintainer-netdev.html

Reply via email to