modification_hooks: don't allow multiple modification hooks
commit891d09df420ec728178b37cae673e0222ccb35df
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 22 Jun 2018 11:15:32 +0000 (22 14:15 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 22 Jun 2018 11:15:32 +0000 (22 14:15 +0300)
treeaca823f39f20a832da7b6fa38c8e55392a765da0
parent85c9445fe464d67c4737f085a43f4052334a69f0
modification_hooks: don't allow multiple modification hooks

I had a bug where I set multiple modification hooks and it took a while to
debug.  Don't allow that.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_modification_hooks.c