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: <87o9q5lwgq.fsf@concordia.ellerman.id.au>
Date:   Wed, 20 Sep 2017 16:23:33 +1000
From:   Michael Ellerman <mpe@...erman.id.au>
To:     Bhumika Goyal <bhumirks@...il.com>, julia.lawall@...6.fr,
        benh@...nel.crashing.org, paulus@...ba.org,
        linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Cc:     Bhumika Goyal <bhumirks@...il.com>
Subject: Re: [PATCH] powerpc: make irq_chip const, __initdata and __initconst

Bhumika Goyal <bhumirks@...il.com> writes:

> Make ehv_pic_irq_chip, mpic_ipi_chip and mpic_tm_chip const as they are
> used only as a copy operation. This usage is during init, so make them
> __initconst too.
> Make mpic_ipi_chip __initdata as it is only modified during the init
> phase and there is no reference of it anywhere after init.

The change log doesn't seem to match the code.

It's mpic_tm_chip which you marked __initdata, and that looks wrong, as
we keep a pointer to it here:

	mpic->hc_tm = mpic_tm_chip;

cheers

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ