mm/zswap: change incorrect strncmp use to strcmp
mm/zswap: change incorrect strncmp use to strcmp

Change the use of strncmp in zswap_pool_find_get() to strcmp.

The use of strncmp is no longer correct, now that zswap_zpool_type is
not an array; sizeof() will return the size of a pointer, which isn't
the right length to compare.  We don't need to use strncmp anyway,
because the existing params and the passed in params are all guaranteed
to be null terminated, so strcmp should be used.

Signed-off-by: Dan Streetman <9cf7b61c8faa5cbb1bbe4dcb6838d42eed5e6946@ieee.org>
Reported-by: Weijie Yang <1efac8fcaddebe669cb35e498dd211e17e274493@samsung.com>
Cc: Seth Jennings <74ca843d8fa59bb3c472e2551935d3d1dafb5aea@variantweb.net>
Signed-off-by: Andrew Morton <5c1e68b099950c134891f0b6e179498a8ebe9cf9@linux-foundation.org>
Signed-off-by: Linus Torvalds <69652caca27c8b940640ad396ab71f93cacec34f@linux-foundation.org>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs