[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] xen-platform: Constify dev_pm_ops

On 09.05.20 15:47, Rikard Falkeborn wrote:
dev_pm_ops is never modified, so mark it const to allow the compiler to
put it in read-only memory.

    text    data     bss     dec     hex filename
    2457    1668     256    4381    111d drivers/xen/platform-pci.o

    text    data     bss     dec     hex filename
    2681    1444     256    4381    111d drivers/xen/platform-pci.o

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@xxxxxxxxx>

Reviewed-by: Juergen Gross <jgross@xxxxxxxx>




Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.