On Fri, 20 Sep 2024, Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> wrote: > On Thu, Sep 12, 2024 at 03:44:32PM +0300, Jani Nikula wrote: >> Just nitpicking, but should this (and rom reads above) now sanity check >> offset+size against rom->size? IDK if it's worth it for such a simple >> thing. The caller is supposed to know what it's doing. > > I considered that but decided to cut my losses before I > end up designing a whole new kernel subsystem. Good call. :) BR, Jani. -- Jani Nikula, Intel