> -----Original Message----- > From: Intel-wired-lan <intel-wired-lan-boun...@osuosl.org> On Behalf Of > Konrad Knitter > Sent: 23 October 2024 15:37 > To: intel-wired-...@lists.osuosl.org > Cc: Keller, Jacob E <jacob.e.kel...@intel.com>; net...@vger.kernel.org; > j...@resnulli.us; da...@davemloft.net; eduma...@google.com; k...@kernel.org; > pab...@redhat.com; linux-ker...@vger.kernel.org; Nguyen, Anthony L > <anthony.l.ngu...@intel.com>; Kitszel, Przemyslaw > <przemyslaw.kits...@intel.com>; Knitter, Konrad <konrad.knit...@intel.com> > Subject: [Intel-wired-lan] [PATCH iwl-next v1 2/3] devlink: add devl guard > > Add devl guard for scoped_guard(). > > Example usage: > > scoped_guard(devl, priv_to_devlink(pf)) { > err = init_devlink(pf); > if (err) > return err; > } > > Co-developed-by: Przemek Kitszel <przemyslaw.kits...@intel.com> > Signed-off-by: Przemek Kitszel <przemyslaw.kits...@intel.com> > Signed-off-by: Konrad Knitter <konrad.knit...@intel.com> > --- > include/net/devlink.h | 1 + > 1 file changed, 1 insertion(+) >
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pu...@intel.com> (A Contingent worker at Intel)