Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macro/align: Use ALIGN_UP and ALIGN_DOWN uniformly #15455

Merged
merged 1 commit into from
Jan 12, 2025

Conversation

W-M-R
Copy link
Contributor

@W-M-R W-M-R commented Jan 7, 2025

Note: Please adhere to Contributing Guidelines.

Summary

macro/align: Use ALIGN_UP and ALIGN_DOWN uniformly

Impact

Update this section, where applicable, on how change affects users,
build process, hardware, documentation, security, compatibility, etc.

Testing

Update this section with details on how did you verify the change,
what Host was used for build (OS, CPU, compiler, ..), what Target was
used for verification (arch, board:config, ..), etc. Providing build
and runtime logs from before and after change is highly appreciated.

@github-actions github-actions bot added Arch: arm Issues related to ARM (32-bit) architecture Arch: arm64 Issues related to ARM64 (64-bit) architecture Area: Memory Management Memory Management issues Area: OS Components OS Components issues Area: BINFMT Size: S The size of the change in this PR is small labels Jan 7, 2025
arch/arm/src/imx9/imx9_lpi2c.c Show resolved Hide resolved
arch/arm/src/imxrt/imxrt_lpi2c.c Show resolved Hide resolved
arch/arm/src/s32k1xx/s32k1xx_lpi2c.c Show resolved Hide resolved
arch/arm/src/s32k3xx/s32k3xx_lpi2c.c Show resolved Hide resolved
arch/arm64/src/imx9/imx9_lpi2c.c Show resolved Hide resolved
@xiaoxiang781216
Copy link
Contributor

please fix ci error:

D:\a\nuttx\nuttx\sources\nuttx\mm\iob\iob_initialize.c(63,29): error C2057: expected constant expression [D:\a\nuttx\nuttx\sources\nuttx\vs2022\mm\mm.vcxproj]
  iob_trimhead.c
D:\a\nuttx\nuttx\sources\nuttx\mm\iob\iob_initialize.c(63,29): error C2466: cannot allocate an array of constant size 0 [D:\a\nuttx\nuttx\sources\nuttx\vs2022\mm\mm.vcxproj]
D:\a\nuttx\nuttx\sources\nuttx\mm\iob\iob_initialize.c(63,16): error C2133: 'g_iob_buffer': unknown size [D:\a\nuttx\nuttx\sources\nuttx\vs2022\mm\mm.vcxproj]

binfmt/binfmt_copyactions.c Show resolved Hide resolved
libs/libbuiltin/libgcc/profile.c Show resolved Hide resolved
@W-M-R W-M-R force-pushed the align branch 2 times, most recently from 3360cfc to de2174b Compare January 10, 2025 17:11
@github-actions github-actions bot added Size: M The size of the change in this PR is medium and removed Size: S The size of the change in this PR is small labels Jan 10, 2025
@xiaoxiang781216
Copy link
Contributor

@W-M-R please rebase and fix ci error.

Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
@xiaoxiang781216 xiaoxiang781216 merged commit 2149d89 into apache:master Jan 12, 2025
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arch: arm Issues related to ARM (32-bit) architecture Arch: arm64 Issues related to ARM64 (64-bit) architecture Area: BINFMT Area: Memory Management Memory Management issues Area: OS Components OS Components issues Size: M The size of the change in this PR is medium
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants