Andy Shevchenko wrote: > On Fri, Oct 25, 2024 at 07:46:53PM -0500, Ira Weiny wrote: > > The printf tests for struct resource were stubbed out. struct range > > printing will leverage the struct resource implementation. > > > > To prevent regression add some basic sanity tests for struct resource. > > ... [snip] > > + > > + test("[mem 0xba5eba11-0xba5eca11 flags 0x200]", > > + "%pr", &test_resource); > > + > > + test_resource = (struct resource) { > > + .start = 0xba11, > > + .end = 0xca10, > > + .flags = IORESOURCE_IO | > > + IORESOURCE_DISABLED | > > + IORESOURCE_UNSET, > > + }; > > I know that I have given my tag, but I just realized that you may use > DEFINE_RES_*() macros here. I tried that but it does not really make things easier IMO. So I kept it this way. I'd like Dave to pick up this series for 6.13. If he can then I can use it for the DCD work. Otherwise DCD can go ahead of this. Ira