On Mon, 28 Sep 2020 17:57:18 -0700 Jakub Kicinski wrote: > Like all genl families ethtool_genl_family needs to not > be a straight up constant, because it's modified/initialized > by genl_register_family(). After init, however, it's only > passed to genlmsg_put() & co. therefore we can mark it > as __ro_after_init.
Sorry I just realized the subject is off.