]> git.baikalelectronics.ru Git - kernel.git/commit
lib: textsearch: fix escapes in example code
authorRandy Dunlap <rdunlap@infradead.org>
Thu, 3 Oct 2019 00:08:18 +0000 (17:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Oct 2019 16:12:23 +0000 (12:12 -0400)
commit4b0de6e58e4c5ebcc55fd96a98b421f3ebe7b141
treed8a8c7000a6a218c995e27ac4605f0bb38c287b7
parent1b4a69d915fb834e454eda3eb173928b9f4adffa
lib: textsearch: fix escapes in example code

This textsearch code example does not need the '\' escapes and they can
be misleading to someone reading the example. Also, gcc and sparse warn
that the "\%d" is an unknown escape sequence.

Fixes: b7b89c7dbec7 ("textsearch: fix kernel-doc warnings and add kernel-api section")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/textsearch.c