diff options
| author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2025-09-28 00:10:34 +0200 |
|---|---|---|
| committer | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2025-09-28 00:10:34 +0200 |
| commit | c07b3e60b4d853056f696c449d4d47701dc9f36f (patch) | |
| tree | 96f9f6b2364d488f1a727365512f24270eb78d72 /tools/lib | |
| parent | c149841b069ccc6e480b00e11f35a57b5d88c7bb (diff) | |
| parent | 217f92d91c9faeb6b78bd6205b3585944cbcb433 (diff) | |
Merge tag 'i2c-host-6.18' of git://git.kernel.org/pub/scm/linux/kernel/git/andi.shyti/linux into i2c/for-mergewindow
i2c-host for v6.18
- Add support for MediaTek MT6878 I2C
- Drop support for S3C2410
Diffstat (limited to 'tools/lib')
| -rw-r--r-- | tools/lib/subcmd/help.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/lib/subcmd/help.c b/tools/lib/subcmd/help.c index 9ef569492560..ddaeb4eb3e24 100644 --- a/tools/lib/subcmd/help.c +++ b/tools/lib/subcmd/help.c @@ -75,6 +75,9 @@ void exclude_cmds(struct cmdnames *cmds, struct cmdnames *excludes) size_t ci, cj, ei; int cmp; + if (!excludes->cnt) + return; + ci = cj = ei = 0; while (ci < cmds->cnt && ei < excludes->cnt) { cmp = strcmp(cmds->names[ci]->name, excludes->names[ei]->name); |
