lkml.org 
[lkml]   [2022]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] pstore/zone: cleanup "rcnt" type
Date
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

\
 
 \ /
  Last update: 2022-06-23 17:32    [W:0.577 / U:0.588 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site