Re: [RFC PATCH net-next 2/5] selftests: mlxsw: sch_red_core: Use defer for test cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 22, 2024 at 03:49:41PM +0200, Petr Machata wrote:
> Instead of having a suite of dedicated cleanup functions, use the defer
> framework to schedule cleanups right as their setup functions are run.
> 
> This makes a dedicated cleanup() moot, instead fall back to the
> lib.sh-provided one, which invokes the necessary defer cleanups as well.
> 
> Signed-off-by: Petr Machata <petrm@xxxxxxxxxx>

Reviewed-by: Ido Schimmel <idosch@xxxxxxxxxx>




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux