mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
s390/module: avoid using strncmp with hardcoded length
Reuse str_has_prefix instead of strncmp with hardcoded length to make the intent of a comparison more obvious. Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
This commit is contained in:
parent
8dec6bd4ef
commit
b29cd7c4c4
1 changed files with 2 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue