mbox series

[0/2] use arm*/linux.h for file command

Message ID 20180625170129.23106-1-leif.lindholm@linaro.org
Headers show
Series use arm*/linux.h for file command | expand

Message

Leif Lindholm June 25, 2018, 5:01 p.m. UTC
We now have pretty, architecture-safe, structs and macros for
kernel image headers and magic values. Use this to get rid of
some hardcoding in the "file" command.

Leif Lindholm (2):
  commands/file: use definitions from arm/linux.h
  commands/file: use definitions from arm64/linux.h

 grub-core/commands/file.c | 27 +++++++++++++--------------
 1 file changed, 13 insertions(+), 14 deletions(-)

-- 
2.11.0


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Comments

Daniel Kiper July 4, 2018, 2:54 p.m. UTC | #1
On Mon, Jun 25, 2018 at 06:01:27PM +0100, Leif Lindholm wrote:
> We now have pretty, architecture-safe, structs and macros for

> kernel image headers and magic values. Use this to get rid of

> some hardcoding in the "file" command.


Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>


If there are no objections I will apply both patches in a week or so.

Daniel

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel