Package: opensbi / 1.7-1
Metadata
| Package | Version | Patches format |
|---|---|---|
| opensbi | 1.7-1 | 3.0 (quilt) |
Patch series
view the series file| Patch | File delta | Description |
|---|---|---|
| include sbi fix swap errors with newer gcc Werror se.patch | (download) |
include/sbi/sbi_byteorder.h |
10 7 + 3 - 0 ! |
include: sbi: fix swap errors with newer gcc
-Werror=sequence-point
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
The BSWAPxx() macros are now throwing the following warnings with
newer gcc versions. This is due to throwing an argument in that may
be evaluated more than one (I think) and therefore things like the
example below should be avoided.
Fix by making a set of BSWAPxx() wrappers which specifically only
evaluate 'x' once.
In file included lib/sbi/sbi_mpxy.c:21:
lib/sbi/sbi_mpxy.c: In function sbi_mpxy_write_attrs:
ib/sbi/sbi_mpxy.c:632:63: error: operation on mem_idx may be undefined [-Werror=sequence-point]
632 | attr_val = le32_to_cpu(mem_ptr[mem_idx++]);
| ~~~~~~~^~
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
|
| platform starfive jh7110 Add starfive jh7110s compat.patch | (download) |
platform/generic/starfive/jh7110.c |
1 1 + 0 - 0 ! |
platform: starfive: jh7110: add starfive,jh7110s compatible Add support for VisionFive 2 Lite board. Link: https://github.com/hal-feng/opensbi/commit/b7e46979a4feb293070094835ba4058b5e55d707 Signed-off-by: Hal Feng <hal.feng@starfivetech.com> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> |
1
