From: Greg KH <gregkh@linuxfoundation.org>
To: Tom Rix <trix@redhat.com>
Cc: jirislaby@kernel.org, nathan@kernel.org, ndesaulniers@google.com,
linux-kernel@vger.kernel.org, llvm@lists.linux.dev
Subject: Re: [PATCH] tty: n_gsm: return -EINVAL when adaption is not supported
Date: Tue, 26 Apr 2022 14:12:38 +0200 [thread overview]
Message-ID: <Ymfhtv5b9M33AQuc@kroah.com> (raw)
In-Reply-To: <20220426120554.1120585-1-trix@redhat.com>
On Tue, Apr 26, 2022 at 08:05:54AM -0400, Tom Rix wrote:
> The clang build fails with
> n_gsm.c:940:13: error: variable 'size' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
> } else if (dlci->adaption == 2) {
> ^~~~~~~~~~~~~~~~~~~
>
> The else should return an error, so return -EINVAL.
>
> Signed-off-by: Tom Rix <trix@redhat.com>
What commit id does this fix? Any reason you didn't cc: the author of
the recent changes to this code?
Is this the same issue that 0-day reported?
thanks,
greg k-h
next prev parent reply other threads:[~2022-04-26 12:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-26 12:05 [PATCH] tty: n_gsm: return -EINVAL when adaption is not supported Tom Rix
2022-04-26 12:12 ` Greg KH [this message]
2022-04-26 18:16 ` Tom Rix
2022-04-26 18:37 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Ymfhtv5b9M33AQuc@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=jirislaby@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=nathan@kernel.org \
--cc=ndesaulniers@google.com \
--cc=trix@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox