Re: [PATCH 5.15 000/511] 5.15.132-rc1 review

From: Guenter Roeck
Date: Mon Sep 18 2023 - 13:04:16 EST


On Sun, Sep 17, 2023 at 09:07:07PM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.15.132 release.
> There are 511 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Tue, 19 Sep 2023 19:10:04 +0000.
> Anything received after that time might be too late.
>

ChromeOS build tests complain:

fs/ksmbd/smb2pdu.c:6256:6: error: variable 'fp' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized]
if (work->next_smb2_rcv_hdr_off) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/ksmbd/smb2pdu.c:6367:21: note: uninitialized use occurs here
ksmbd_fd_put(work, fp);

That is caused by

> Namjae Jeon <linkinjeon@xxxxxxxxxx>
> ksmbd: no response from compound read
>

The compiler suggests to initialize fp with NULL. That _might_ be
a feasible solution.

Guenter