[PATCH master 00/13] Misc compile test fixes

Ahmad Fatoum a.fatoum at pengutronix.de
Mon Oct 14 04:38:59 PDT 2024


I compile tested with ARCH=sandbox make allyesconfig and these are fixes
for the errors I ran into.

Given that a number of them may also affect other architectures and that
the changes are quite limited in scope, I suggest this is taken directly
to master.

Ahmad Fatoum (13):
  clk: add stub definition for of_clk_get_from_provider
  tee: add missing header for BIT macro definition
  tee: shm: include missing header for basprintf
  net: dsa: realtek: fix CONFIG_SANDBOX build
  pmdomain: imx8mp-blk-ctrl: add missing definition of ARRAY_SIZE
  PWM: rockchip: fix compile testing with CONFIG_SANDBOX
  watchdog: imxulp: drop unused include of asm/system.h
  include: import uapi/linux/kernel.h header from Linux
  usb: typec: fix compile test with CONFIG_SANDBOX
  bitops: fix missing defintion for DIV_ROUND_UP definitions
  mci: am654-sdhci: drop dummy redefinition of MMC_CAP2_HS200/400
  hw_random: fix compilation with 64-bit size_t
  optee: make OP-TEE OF fixup ARM-specific

 drivers/hw_random/omap-rng.c           |  2 +-
 drivers/mci/am654-sdhci.c              |  2 --
 drivers/net/realtek-dsa/realtek-mdio.c |  1 +
 drivers/net/realtek-dsa/rtl8365mb.c    |  2 ++
 drivers/net/realtek-dsa/rtl8366rb.c    |  1 +
 drivers/pmdomain/imx/imx8mp-blk-ctrl.c |  1 +
 drivers/pwm/pwm-rockchip.c             |  1 +
 drivers/tee/optee/Kconfig              |  4 +++
 drivers/tee/optee/Makefile             |  2 +-
 drivers/tee/tee_shm.c                  |  1 +
 drivers/usb/typec/class.c              |  3 ++-
 drivers/watchdog/imxulp-wdt.c          |  1 -
 include/linux/align.h                  |  8 +++---
 include/linux/bitops.h                 | 10 ++++---
 include/linux/clk.h                    |  6 +++++
 include/linux/const.h                  | 24 +----------------
 include/linux/math.h                   |  2 +-
 include/linux/tee_drv.h                |  1 +
 include/uapi/linux/const.h             | 36 ++++++++++++++++++++++++++
 include/uapi/linux/kernel.h            |  7 +++++
 20 files changed, 78 insertions(+), 37 deletions(-)
 create mode 100644 include/uapi/linux/const.h
 create mode 100644 include/uapi/linux/kernel.h

-- 
2.39.5




More information about the barebox mailing list