All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christophe Leroy <christophe.leroy@c-s.fr>
To: Sven Schnelle <svens@stackframe.org>, kexec@lists.infradead.org
Cc: deller@gmx.de, linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH v3 6/7] kexec_elf: remove Elf_Rel macro
Date: Wed, 10 Jul 2019 17:02:31 +0200	[thread overview]
Message-ID: <e9ad2137-f0a9-38e1-87a6-f4e215c87b53@c-s.fr> (raw)
In-Reply-To: <20190710142944.2774-7-svens@stackframe.org>



Le 10/07/2019 à 16:29, Sven Schnelle a écrit :
> It wasn't used anywhere, so lets drop it.

And also, it is already defined in asm-generic/module.h

> 
> Signed-off-by: Sven Schnelle <svens@stackframe.org>

Reviewed-by: Christophe Leroy <christophe.leroy@c-s.fr>

> ---
>   kernel/kexec_elf.c | 4 ----
>   1 file changed, 4 deletions(-)
> 
> diff --git a/kernel/kexec_elf.c b/kernel/kexec_elf.c
> index 99e6d63b5dfc..b7e47ddd7cad 100644
> --- a/kernel/kexec_elf.c
> +++ b/kernel/kexec_elf.c
> @@ -8,10 +8,6 @@
>   #include <linux/slab.h>
>   #include <linux/types.h>
>   
> -#ifndef Elf_Rel
> -#define Elf_Rel		Elf64_Rel
> -#endif /* Elf_Rel */
> -
>   static inline bool elf_is_elf_file(const struct elfhdr *ehdr)
>   {
>   	return memcmp(ehdr->e_ident, ELFMAG, SELFMAG) == 0;
> 

WARNING: multiple messages have this Message-ID (diff)
From: Christophe Leroy <christophe.leroy@c-s.fr>
To: Sven Schnelle <svens@stackframe.org>, kexec@lists.infradead.org
Cc: deller@gmx.de, linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH v3 6/7] kexec_elf: remove Elf_Rel macro
Date: Wed, 10 Jul 2019 17:02:31 +0200	[thread overview]
Message-ID: <e9ad2137-f0a9-38e1-87a6-f4e215c87b53@c-s.fr> (raw)
In-Reply-To: <20190710142944.2774-7-svens@stackframe.org>



Le 10/07/2019 à 16:29, Sven Schnelle a écrit :
> It wasn't used anywhere, so lets drop it.

And also, it is already defined in asm-generic/module.h

> 
> Signed-off-by: Sven Schnelle <svens@stackframe.org>

Reviewed-by: Christophe Leroy <christophe.leroy@c-s.fr>

> ---
>   kernel/kexec_elf.c | 4 ----
>   1 file changed, 4 deletions(-)
> 
> diff --git a/kernel/kexec_elf.c b/kernel/kexec_elf.c
> index 99e6d63b5dfc..b7e47ddd7cad 100644
> --- a/kernel/kexec_elf.c
> +++ b/kernel/kexec_elf.c
> @@ -8,10 +8,6 @@
>   #include <linux/slab.h>
>   #include <linux/types.h>
>   
> -#ifndef Elf_Rel
> -#define Elf_Rel		Elf64_Rel
> -#endif /* Elf_Rel */
> -
>   static inline bool elf_is_elf_file(const struct elfhdr *ehdr)
>   {
>   	return memcmp(ehdr->e_ident, ELFMAG, SELFMAG) == 0;
> 

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

  reply	other threads:[~2019-07-10 15:06 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-10 14:29 [PATCH v3 0/7] kexec: add generic support for elf kernel images Sven Schnelle
2019-07-10 14:29 ` Sven Schnelle
2019-07-10 14:29 ` [PATCH v3 1/7] kexec: add KEXEC_ELF Sven Schnelle
2019-07-10 14:29   ` Sven Schnelle
2019-07-10 14:29 ` [PATCH v3 2/7] kexec_elf: change order of elf_*_to_cpu() functions Sven Schnelle
2019-07-10 14:29   ` Sven Schnelle
2019-07-10 14:29 ` [PATCH v3 3/7] kexec_elf: remove parsing of section headers Sven Schnelle
2019-07-10 14:29   ` Sven Schnelle
2019-07-10 14:29 ` [PATCH v3 4/7] kexec_elf: remove PURGATORY_STACK_SIZE Sven Schnelle
2019-07-10 14:29   ` Sven Schnelle
2019-07-10 14:29 ` [PATCH v3 5/7] kexec_elf: remove elf_addr_to_cpu macro Sven Schnelle
2019-07-10 14:29   ` Sven Schnelle
2019-07-10 15:09   ` Christophe Leroy
2019-07-10 15:09     ` Christophe Leroy
2019-07-10 18:05     ` Sven Schnelle
2019-07-10 18:05       ` Sven Schnelle
2019-07-11 11:08       ` Michael Ellerman
2019-07-11 11:08         ` Michael Ellerman
2019-07-15  7:24         ` Sven Schnelle
2019-07-15  7:24           ` Sven Schnelle
2019-07-19 14:06           ` Michael Ellerman
2019-07-19 14:06             ` Michael Ellerman
2019-07-10 14:29 ` [PATCH v3 6/7] kexec_elf: remove Elf_Rel macro Sven Schnelle
2019-07-10 14:29   ` Sven Schnelle
2019-07-10 15:02   ` Christophe Leroy [this message]
2019-07-10 15:02     ` Christophe Leroy
2019-07-10 14:29 ` [PATCH v3 7/7] kexec_elf: remove unused variable in kexec_elf_load() Sven Schnelle
2019-07-10 14:29   ` Sven Schnelle
2019-07-10 14:55   ` Christophe Leroy
2019-07-10 14:55     ` Christophe Leroy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e9ad2137-f0a9-38e1-87a6-f4e215c87b53@c-s.fr \
    --to=christophe.leroy@c-s.fr \
    --cc=deller@gmx.de \
    --cc=kexec@lists.infradead.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=svens@stackframe.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.