From: Jeremy Sowden <jeremy@azazel.net>
To: Netfilter Devel <netfilter-devel@vger.kernel.org>
Subject: Re: [PATCH nf-next] lib/ts_bm: add helper to reduce indentation and improve readability
Date: Tue, 20 Jun 2023 12:14:47 +0100 [thread overview]
Message-ID: <20230620111447.GE82872@azazel.net> (raw)
In-Reply-To: <202306201819.BoQ5IT7Y-lkp@intel.com>
[-- Attachment #1: Type: text/plain, Size: 2041 bytes --]
On 2023-06-20, at 18:42:43 +0800, kernel test robot wrote:
> kernel test robot noticed the following build warnings:
>
> [auto build test WARNING on linus/master]
> [also build test WARNING on v6.4-rc7 next-20230620]
> [cannot apply to nf-next/master]
> [If your patch is applied to the wrong git tree, kindly drop us a note.
> And when submitting patch, we suggest to use '--base' as documented in
> https://git-scm.com/docs/git-format-patch#_base_tree_information]
>
> url: https://github.com/intel-lab-lkp/linux/commits/Jeremy-Sowden/lib-ts_bm-add-helper-to-reduce-indentation-and-improve-readability/20230620-031043
> base: linus/master
> patch link: https://lore.kernel.org/r/20230619190803.1906012-1-jeremy%40azazel.net
> patch subject: [PATCH nf-next] lib/ts_bm: add helper to reduce indentation and improve readability
> config: x86_64-rhel-8.3-rust (https://download.01.org/0day-ci/archive/20230620/202306201819.BoQ5IT7Y-lkp@intel.com/config)
> compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project.git 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a)
> reproduce: (https://download.01.org/0day-ci/archive/20230620/202306201819.BoQ5IT7Y-lkp@intel.com/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202306201819.BoQ5IT7Y-lkp@intel.com/
>
> All warnings (new ones prefixed by >>):
>
> >> lib/ts_bm.c:101:34: warning: variable 'i' is uninitialized when used here [-Wuninitialized]
> bs = bm->bad_shift[text[shift-i]];
> ^
> lib/ts_bm.c:79:16: note: initialize the variable 'i' to silence this warning
> unsigned int i, text_len, consumed = state->offset;
> ^
> = 0
> 1 warning generated.
Whoops. Will fix and send v2.
J.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2023-06-20 11:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-19 19:08 [PATCH nf-next] lib/ts_bm: add helper to reduce indentation and improve readability Jeremy Sowden
2023-06-20 10:42 ` kernel test robot
2023-06-20 11:14 ` Jeremy Sowden [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-06-20 18:09 Jeremy Sowden
2023-06-20 18:10 ` Jeremy Sowden
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=20230620111447.GE82872@azazel.net \
--to=jeremy@azazel.net \
--cc=netfilter-devel@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).