* Re: [PATCH 1/6] mm: pagewalk: make error checks more obvious
[not found] <202208231649.7QKavhA3-lkp@intel.com>
@ 2022-08-23 9:25 ` Rolf Eike Beer
0 siblings, 0 replies; 2+ messages in thread
From: Rolf Eike Beer @ 2022-08-23 9:25 UTC (permalink / raw)
To: kbuild, Dan Carpenter, Andrew Morton; +Cc: lkp, kbuild-all, linux-mm
[-- Attachment #1: Type: text/plain, Size: 1605 bytes --]
Am Dienstag, 23. August 2022, 11:16:42 CEST schrieb Dan Carpenter:
> Hi Rolf,
>
> https://git-scm.com/docs/git-format-patch#_base_tree_information]
>
> url:
> https://github.com/intel-lab-lkp/linux/commits/Rolf-Eike-Beer/Minor-improve
> ments-for-pagewalk-code/20220822-214107 base:
> https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
> config: x86_64-randconfig-m001
> (https://download.01.org/0day-ci/archive/20220823/202208231649.7QKavhA3-lkp
> @intel.com/config) compiler: gcc-11 (Debian 11.3.0-5) 11.3.0
>
> If you fix the issue, kindly add following tag where applicable
> Reported-by: kernel test robot <lkp@intel.com>
> Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
>
> smatch warnings:
> mm/pagewalk.c:248 walk_p4d_range() error: uninitialized symbol 'err'.
> mm/pagewalk.c:287 walk_pgd_range() error: uninitialized symbol 'err'.
> mm/pagewalk.c:324 walk_hugetlb_range() error: uninitialized symbol 'err'.
>
> vim +/err +248 mm/pagewalk.c
[...]
> Same. Although this seems more like a real bug.
They all are. I wonder how they got lost and why this never showed up during
my tests, but still.
Andrew, do you want me to resend the series with the fixes squashed in or add a
v7?
Eike
--
Rolf Eike Beer, emlix GmbH, http://www.emlix.com
Fon +49 551 30664-0, Fax +49 551 30664-11
Gothaer Platz 3, 37083 Göttingen, Germany
Sitz der Gesellschaft: Göttingen, Amtsgericht Göttingen HR B 3160
Geschäftsführung: Heike Jordan, Dr. Uwe Kracke – Ust-IdNr.: DE 205 198 055
emlix - smart embedded open source
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 313 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 0/6] Minor improvements for pagewalk code
@ 2022-08-22 12:59 Rolf Eike Beer
[not found] ` <2203731.iZASKD2KPV@devpool047>
0 siblings, 1 reply; 2+ messages in thread
From: Rolf Eike Beer @ 2022-08-22 12:59 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-mm, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1107 bytes --]
For some project I had to use the pagewalk API for certain things and during
this have read through the code multiple times. Our usage has changed several
times depending on our current state of research as well.
During all of this I have made some tweaks to the code to be able to follow it
better when hunting my own problems, and not call into some things that I
actually don't need. The patches are more or less independent of each other.
Especially the last one may heavily depend on personal taste, so if you don't
like it, just ignore it.
I would welcome if you could just pick those that you think are fitting and
provide feedback on either of the remaining ones. At the end none of them
should make any functional difference.
Regards,
Eike
--
Rolf Eike Beer, emlix GmbH, http://www.emlix.com
Fon +49 551 30664-0, Fax +49 551 30664-11
Gothaer Platz 3, 37083 Göttingen, Germany
Sitz der Gesellschaft: Göttingen, Amtsgericht Göttingen HR B 3160
Geschäftsführung: Heike Jordan, Dr. Uwe Kracke – Ust-IdNr.: DE 205 198 055
emlix - smart embedded open source
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 313 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-23 9:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <202208231649.7QKavhA3-lkp@intel.com>
2022-08-23 9:25 ` [PATCH 1/6] mm: pagewalk: make error checks more obvious Rolf Eike Beer
2022-08-22 12:59 [PATCH 0/6] Minor improvements for pagewalk code Rolf Eike Beer
[not found] ` <2203731.iZASKD2KPV@devpool047>
2022-08-22 20:53 ` [PATCH 1/6] mm: pagewalk: make error checks more obvious Andrew Morton
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).