Subject: Re: [PATCH net-next 04/10] tools: ynl: convert rt-link sample to selftest

From: Jakub Kicinski <[email-masked]>
Date: Fri, 6 Mar 2026 16:09:19 -0800

On Fri, 06 Mar 2026 14:29:09 +0000 Donald Hunter wrote:
> > +	/* Verify it appears in a dump */
> > +	dreq = rt_link_getlink_req_dump_alloc();  
> 
> I see there's error handling for *_alloc() in helper functions but
> not in tests. Is that intentional?

I think the tedium of the conversions just got to me by patch 4 ;)
Let me add ASSERT_NE(NULL, *) in the relevant spots.