Modify

Opened 6 years ago

Closed 5 years ago

#10926 closed defect (fixed)

error and mismatch section while compiling kernel 3.2.1 with bcm63xx

Reported by: joel_ejc@… Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: kernel Version: Trunk
Keywords: Cc:

Description

Hi,
I compiled bcm63xx with linux 3.2.1.
I got an error :
arch/mips/kernel/machine_kexec.c: In function 'machine_kexec_init_argv':
arch/mips/kernel/machine_kexec.c:82:2: error: 'buf' may be used uninitialized in this function [-Werror=uninitialized]
cc1: all warnings being treated as errors

and mismatch section warnings due to
drivers/watchdog/bcm63xx_wdt.c
drivers/spi/bcm63xx_spi.c

Please find enclosed patches for overcoming these troubles.

Best regards

Attachments (3)

335-mips-kexec-cleanup-kexec-tools-parameter-handling.patch (4.9 KB) - added by joel_ejc@… 6 years ago.
modified 335-mips-kexec-cleanup-kexec-tools-parameter-handling.patch
995-bcm63xx_wdt_fix_mismatch_section.patch (772 bytes) - added by joel_ejc@… 6 years ago.
bcm63xx_wdt_fix_mismatch_section.patch
996-bcm63xx_spi_fix_mismatch_section.patch (329 bytes) - added by joel_ejc@… 6 years ago.
bcm63xx_spi_fix_mismatch_section.patch

Download all attachments as: .zip

Change History (5)

Changed 6 years ago by joel_ejc@…

modified 335-mips-kexec-cleanup-kexec-tools-parameter-handling.patch

Changed 6 years ago by joel_ejc@…

bcm63xx_wdt_fix_mismatch_section.patch

Changed 6 years ago by joel_ejc@…

bcm63xx_spi_fix_mismatch_section.patch

comment:1 Changed 6 years ago by joel_ejc@…

Hi,

Please don't analyze
996-bcm63xx_spi_fix_mismatch_section.patch

It can(t be applied to a regular linux 3.2 distriubtion

Best regards
Joel

comment:2 Changed 5 years ago by jogo

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker (trunk)
  • Resolution set to fixed
  • Status changed from new to closed

bcm63xx builds fine without any mismatches or errors, so I assume these were eventually fixed.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.