On Wed, 15 Jul 2020 19:07:27 +0200 Marek Behún <marek.behun@xxxxxx> wrote: > This should instead check: > the names are same and both trigger have the same type (either none > or same). In that case return -EEXIST. My bad, this is of course wrong. -EEXIST should be returned if the names are same and triggers have same type or one of them has no type.