On Thu, 23 Jun 2022 16:40:13 +0300, Dan Carpenter wrote: > The info->read() function returns ssize_t. That means that info->read() > either returns either negative error codes or a positive number > representing the bytes read. > > The "rcnt" variable should be declared as ssize_t as well. Most places > do this correctly but psz_kmsg_recover_meta() needed to be fixed. > > [...] Applied to for-next/pstore, thanks! [1/1] pstore/zone: cleanup "rcnt" type https://git.kernel.org/kees/c/2c09d1443b9b -- Kees Cook