On Tue, 2018-01-30 at 00:30 +0100, Martin Wilck wrote: > + static struct aborted_cmd_blist blist[] = { Please consider to declare this array const. > + for (i = 0; i < sizeof(blist)/sizeof(struct aborted_cmd_blist); i++) { Have you considered to use ARRAY_SIZE()? Thanks, Bart.