lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdYG1hhotoUj0o6+o=rFBfgrhKn9QjC2BywZdEmaoOwD-g@mail.gmail.com>
Date:   Wed, 23 Aug 2023 10:07:43 +0200
From:   Linus Walleij <linus.walleij@...aro.org>
To:     Michal Simek <monstr@...str.eu>
Cc:     linux-kernel@...r.kernel.org
Subject: Re: [PATCH] microblaze: Make virt_to_pfn() a static inline

On Tue, Aug 8, 2023 at 10:40 AM Linus Walleij <linus.walleij@...aro.org> wrote:

> +static inline const void *pfn_to_virt(unsigned long pfn)

I think maybe I should not have put const there. It means the
pointer shouldn't be modified and I think there is code that
does that, or cast to some other pointer which is not const:ed
and then use things like ++ on the resulting type.

If you run into compile warnings you can just delete the const,
or I can send a follow-up patch.

Yours,
Linus Walleij

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ