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

Zephyr v3.6.0 xt non rpi v2 #122

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions drivers/regulator/regulator_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,6 @@ static int regulator_gpio_init(const struct device *dev)
regulator_common_data_init(dev);

for (unsigned int gpio_idx = 0; gpio_idx < cfg->num_gpios; gpio_idx++) {
int ret;

if (!gpio_is_ready_dt(&cfg->gpios[gpio_idx])) {
LOG_ERR("%s: gpio pin: %s not ready", dev->name,
cfg->gpios[gpio_idx].port ? cfg->gpios[gpio_idx].port->name
Expand Down
6 changes: 3 additions & 3 deletions drivers/xen/gnttab.c
Original file line number Diff line number Diff line change
Expand Up @@ -372,12 +372,12 @@ static int gnttab_init(void)
gnttab.gref_list[0] = gref;
}

for (i = 0; i < CONFIG_NR_GRANT_FRAMES; i++) {
for (i = CONFIG_NR_GRANT_FRAMES; i; i--) {
xatp.domid = DOMID_SELF;
xatp.size = 0;
xatp.space = XENMAPSPACE_grant_table;
xatp.idx = i;
xatp.gpfn = xen_virt_to_gfn(gnttab_base) + i;
xatp.idx = i - 1;
xatp.gpfn = xen_virt_to_gfn(gnttab_base) + (i - 1);
rc = HYPERVISOR_memory_op(XENMEM_add_to_physmap, &xatp);
__ASSERT(!rc, "add_to_physmap failed; status = %d\n", rc);
}
Expand Down
2 changes: 1 addition & 1 deletion subsys/testsuite/coverage/coverage_ram.ld
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

/* Copied from linker.ld */

#ifdef CONFIG_ARM
#if defined(CONFIG_ARM) || defined(CONFIG_ARM64)
SECTION_DATA_PROLOGUE(_GCOV_BSS_SECTION_NAME,(NOLOAD),)
{
#ifdef CONFIG_USERSPACE
Expand Down