[kernel] add missing inherit.