All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/4] Fix compiler warnings for 32-bit ARM
@ 2022-01-23 19:55 Simon Glass
  2022-01-23 19:55 ` [PATCH v5 1/4] scripts/checkpatch.pl: Resync with v5.16 Simon Glass
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Simon Glass @ 2022-01-23 19:55 UTC (permalink / raw)
  To: U-Boot Mailing List
  Cc: Tom Rini, Heinrich Schuchardt, Simon Glass, Alexander Graf

These were noticed when building sandbox on a Raspberry Pi 400, which uses
32-bit linux.

To make this work, I enabled CONFIG_HOST_32BIT in 'make menuconfig'. It
would be nice if that were automatic, since we have the logic already in
arch/sandbox/config.mk

So this series adds that.

It also fixes the unicode warnings of the form:

/usr/bin/ld: warning: arch/sandbox/cpu/start.o uses 2-byte wchar_t yet the
output is to use 4-byte wchar_t; use of wchar_t values across objects
may fail

as suggested by Heinrich.

Changes in v5:
- Resync with upstream instead

Changes in v4:
- Rebase to master
- Use $(HOSTCC) instead of gcc
- Add proper Kconfig help

Changes in v3:
- Change some things EFI things missed (or new since) last time
- Use 'bitness' instead of 'bit'
- Add a new patch to change non-EFI occurences

Changes in v2:
- Drop patches previously applied
- Put all the packages in gcc.rst

Simon Glass (4):
  scripts/checkpatch.pl: Resync with v5.16
  efi: Use 16-bit unicode strings
  sandbox: Detect the host bit size automatically
  treewide: Use 16-bit unicode strings

 Makefile                                      |  11 +-
 arch/sandbox/Kconfig                          |  33 +-
 cmd/efidebug.c                                |  28 +-
 doc/develop/checkpatch.rst                    | 590 ++++++++++++++++--
 include/efi_loader.h                          |   2 +-
 include/efi_selftest.h                        |   4 +-
 lib/efi_loader/efi_bootmgr.c                  |  12 +-
 lib/efi_loader/efi_boottime.c                 |   2 +-
 lib/efi_loader/efi_capsule.c                  |  22 +-
 lib/efi_loader/efi_helper.c                   |   2 +-
 lib/efi_loader/efi_image_loader.c             |   8 +-
 lib/efi_loader/efi_setup.c                    |  14 +-
 lib/efi_loader/efi_string.c                   |   2 +-
 lib/efi_loader/efi_tcg2.c                     |   4 +-
 lib/efi_loader/efi_var_common.c               |  12 +-
 lib/efi_loader/efi_variable.c                 |   6 +-
 lib/efi_loader/efi_variable_tee.c             |   2 +-
 lib/efi_loader/helloworld.c                   |  40 +-
 lib/efi_selftest/dtbdump.c                    |  82 +--
 lib/efi_selftest/efi_selftest.c               |   2 +-
 lib/efi_selftest/efi_selftest_block_device.c  |   6 +-
 lib/efi_selftest/efi_selftest_devicepath.c    |   2 +-
 lib/efi_selftest/efi_selftest_exception.c     |   2 +-
 lib/efi_selftest/efi_selftest_fdt.c           |   6 +-
 lib/efi_selftest/efi_selftest_hii.c           |   8 +-
 lib/efi_selftest/efi_selftest_load_file.c     |   4 +-
 lib/efi_selftest/efi_selftest_loadimage.c     |   4 +-
 .../efi_selftest_miniapp_exception.c          |   4 +-
 lib/efi_selftest/efi_selftest_miniapp_exit.c  |   8 +-
 .../efi_selftest_miniapp_return.c             |   2 +-
 lib/efi_selftest/efi_selftest_reset.c         |   2 +-
 lib/efi_selftest/efi_selftest_textoutput.c    |  12 +-
 .../efi_selftest_unicode_collation.c          |  38 +-
 lib/efi_selftest/efi_selftest_util.c          | 106 ++--
 lib/efi_selftest/efi_selftest_variables.c     |  22 +-
 .../efi_selftest_variables_runtime.c          |   4 +-
 lib/efi_selftest/initrddump.c                 |  60 +-
 lib/lzma/Types.h                              |   4 +-
 lib/vsprintf.c                                |   2 +-
 scripts/checkpatch.pl                         | 145 +++--
 scripts/kconfig/Makefile                      |  14 +-
 scripts/spdxcheck.py                          |   2 +-
 test/print_ut.c                               |   2 +-
 test/unicode_ut.c                             |  22 +-
 44 files changed, 974 insertions(+), 385 deletions(-)

-- 
2.35.0.rc0.227.g00780c9af4-goog


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-02-04  0:40 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-23 19:55 [PATCH v5 0/4] Fix compiler warnings for 32-bit ARM Simon Glass
2022-01-23 19:55 ` [PATCH v5 1/4] scripts/checkpatch.pl: Resync with v5.16 Simon Glass
2022-02-04  0:40   ` Tom Rini
2022-01-23 19:55 ` [PATCH v5 2/4] efi: Use 16-bit unicode strings Simon Glass
2022-02-04  0:40   ` [PATCH v5 2/4] efi: Use 16-bit Unicode strings Tom Rini
2022-01-23 19:55 ` [PATCH v5 3/4] sandbox: Detect the host bit size automatically Simon Glass
2022-02-03 17:12   ` Tom Rini
2022-02-03 18:51   ` Heinrich Schuchardt
2022-01-23 19:55 ` [PATCH v5 4/4] treewide: Use 16-bit unicode strings Simon Glass
2022-02-03 18:56   ` Heinrich Schuchardt
2022-02-04  0:40   ` Tom Rini

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.