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] [day] [month] [year] [list]
Date:   Mon, 3 Oct 2022 16:43:44 -0700
From:   Luis Chamberlain <mcgrof@...nel.org>
To:     Miroslav Benes <mbenes@...e.cz>
Cc:     Chen Zhongjin <chenzhongjin@...wei.com>,
        linux-kernel@...r.kernel.org, linux-modules@...r.kernel.org
Subject: Re: [PATCH -next] module: Remove unused macros module_addr_min/max

On Fri, Sep 30, 2022 at 01:37:25PM +0200, Miroslav Benes wrote:
> Hi,
> 
> On Sat, 24 Sep 2022, Chen Zhongjin wrote:
> 
> > Unused macros reported by [-Wunused-macros].
> > 
> > These macros are introduced to record the bound address of modules.
> > 
> > '80b8bf436990 ("module: Always have struct mod_tree_root")'
> > This commit has made struct mod_tree_root always exist, which means
> > we can always referencing mod_tree derectly rather than using this
> > macro.
> > 
> > So they are useless, remove them for code cleaning.
> 
> a nit, but I would rephrase the changelog a bit...
> 
> "
> Commit 80b8bf436990 ("module: Always have struct mod_tree_root") made 
> "struct mod_tree_root" always present and its members addr_min and 
> addr_max can be directly accessed.
> 
> Macros module_addr_min and module_addr_min are not used anymore, so remove 
> them.
> "
> 
> > Signed-off-by: Chen Zhongjin <chenzhongjin@...wei.com>
> 
> Anyway
> 
> Reviewed-by: Miroslav Benes <mbenes@...e.cz>

Thanks all, I've changed the commit message as suggested by Miroslav,
and will queue this up for 6.2.

  Luis

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ