On Mon, Feb 04 2019 at 10:06 +0100, Uwe Kleine-König
wrote:
> On Mon, Feb 04, 2019 at 08:54:29AM +0100, Juergen Borleis wrote:
>> On Sunday 03 February 2019 22:48:06 Ulrich Ölmann wrote:
>> > Explicitely casting an "off_t" variable to "long long" and
By cleaning up the code the compiler does not emit the following warning
anymore:
src/base64.c:15:19: warning: duplicate ‘const’ declaration specifier
[-Wduplicate-decl-specifier]
static const char const uuenc_tbl_base64[65 + 1] = {
^
Signed-off-by: Ulrich
-by: Ulrich Ölmann
---
src/barebox-state.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/src/barebox-state.c b/src/barebox-state.c
index fc9a7bb055ef..946a8dba6d8c 100644
--- a/src/barebox-state.c
+++ b/src/barebox-state.c
@@ -251,7 +251,6 @@ static char *__state_string_get(struct
;
^~~~
Signed-off-by: Ulrich Ölmann
---
src/keystore-blob.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/keystore-blob.c b/src/keystore-blob.c
index 028dd8bcc9be..f71ff5d9d5cb 100644
--- a/src/keystore-blob.c
+++ b/src/keystore-blob.c
@@ -22,7 +22,7 @@ static struct state
);
^
The function is not needed as its job is done by __state_uint32_get().
Signed-off-by: Ulrich Ölmann
---
src/barebox-state.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/barebox-state.c b/src/barebox-state.c
index 4e087b9d63bf..fc9a7bb055ef 100644
--- a/src/barebox-state.c
+++ b/src
t.
- the call to getopt_long() already allowed the option "-f" in its optstring,
but the usage() message said nothing about it, hence amend that and offer
the long option "--force" as well.
Signed-off-by: Ulrich Ölmann
---
src/barebox-state.c | 5 -
1 file chang
s applying the compiler
option "-Wno-pointer-sign" in its main makefile.
Signed-off-by: Ulrich Ölmann
---
src/dt/common.h | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/dt/common.h b/src/dt/common.h
index de8d2938a149..c3c4f53fc216 100644
--- a/src/dt/common.h
+
Explicitely casting an "off_t" variable to "long long" and formatting it via
"%lld" or "%llx" respectively makes 32- as well as 64-bit compilers
happy (tested with gcc-8.2.1 and clang-7.0.1).
Signed-off-by: Ulrich Ölmann
---
src/bare
Signed-off-by: Ulrich Ölmann
---
src/barebox-state.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/src/barebox-state.c b/src/barebox-state.c
index 0f40044bc2c6..4e087b9d63bf 100644
--- a/src/barebox-state.c
+++ b/src/barebox-state.c
@@ -366,6 +366,7 @@ struct state *state_get(const
ve calls
$ barebox-state --get blue.x
$ barebox-state --get yellow.y
would succeed. This commit fixes that bug.
Signed-off-by: Ulrich Ölmann
---
src/barebox-state.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/barebox-state.c b/src/barebox-state.c
index 3e6c2600346
The format specifier "%zd" is for "size_t" typed variables and produces a
warning with gcc, so use "%u" instead.
Signed-off-by: Ulrich Ölmann
---
src/barebox-state/backend_bucket_circular.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
The cited patch went mainline meanwhile so reflect that in the comment.
Signed-off-by: Ulrich Ölmann
---
src/libdt.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/libdt.c b/src/libdt.c
index 4638678fcd30..8ae9978c66c2 100644
--- a/src/libdt.c
+++ b/src/libdt.c
From: Kim Christensen
The function state_mtd_peb_read() is only a user of buf and not its owner, hence
it may not deallocate it.
Signed-off-by: Kim Christensen
Acked-by: Ulrich Ölmann
---
src/barebox-state/backend_bucket_circular.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src
On Wed, Sep 18 2019 at 22:23 +0200, Uwe Kleine-König
wrote:
> On Wed, Sep 18, 2019 at 04:48:23PM +0200, Ulrich Ölmann wrote:
>> From: Kim Christensen
>>
>> The function state_mtd_peb_read() is only a user of buf and not its owner,
>> hence
>> it may not deallo
with
| large seek offsets. While at it, make sure to populate return error
| code from 'errno'.
|
| Signed-off-by: Andrey Smirnov
| Signed-off-by: Sascha Hauer
Signed-off-by: Ulrich Ölmann
---
src/barebox-state/backend_bucket_circular.c | 7 +++
1 file changed, 3 insertions(+), 4
() and then directly afterwards.
|
| Signed-off-by: Sascha Hauer
Signed-off-by: Ulrich Ölmann
---
src/barebox-state/backend_bucket_circular.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/barebox-state/backend_bucket_circular.c
b/src/barebox-state/backend_bucket_circular.c
index
problems with
| large seek offsets. While at it, make sure to populate return error
| code from 'errno'.
|
| Signed-off-by: Andrey Smirnov
| Signed-off-by: Sascha Hauer
Signed-off-by: Ulrich Ölmann
---
src/barebox-state/backend_bucket_direct.c | 7 +++
1 file changed, 3
| if MTD is present. Exclude it from the build if MTD is not enabled.
|
| Signed-off-by: Lucas Stach
| Signed-off-by: Sascha Hauer
Signed-off-by: Ulrich Ölmann
---
configure.ac| 2 ++
src/barebox-state/backend_storage.c | 6 --
2 files changed, 6 insertions(+), 2
as can be seen from the
| phytec-som-am335x/board.c change. (The check for state != NULL could be
| dropped already before.)
|
| Signed-off-by: Uwe Kleine-König
| Signed-off-by: Sascha Hauer
Signed-off-by: Ulrich Ölmann
---
configure.ac | 2 ++
src/state.h | 36
If enabled it defined the C preprocessor macro 'ENABLE_LOGGING' which wasn't
used anywhere.
Signed-off-by: Ulrich Ölmann
---
configure.ac | 8
1 file changed, 8 deletions(-)
diff --git a/configure.ac b/configure.ac
index c2486af9436f..5dd17b20809b 100644
--- a/configure.ac
+++ b
with
| large seek offsets. While at it, make sure to populate return error
| code from 'errno'.
|
| Signed-off-by: Andrey Smirnov
| Signed-off-by: Sascha Hauer
Signed-off-by: Ulrich Ölmann
---
src/barebox-state/backend_bucket_circular.c | 7 +++
1 file changed, 3 insertions
.
| state_backend_dtb_file() and state_backend_raw_file() were dropped in
| c999b507da98 ("state: Refactor state framework").
|
| Signed-off-by: Uwe Kleine-König
| Signed-off-by: Sascha Hauer
Signed-off-by: Ulrich Ölmann
---
src/barebox-state/state.c | 7 ---
s
problems with
| large seek offsets. While at it, make sure to populate return error
| code from 'errno'.
|
| Signed-off-by: Andrey Smirnov
| Signed-off-by: Sascha Hauer
Signed-off-by: Ulrich Ölmann
---
src/barebox-state/backend_bucket_direct.c | 16
1 file
If enabled it defined the C preprocessor macro 'DEBUG' which wasn't used
anywhere.
Signed-off-by: Ulrich Ölmann
---
configure.ac | 8
1 file changed, 8 deletions(-)
diff --git a/configure.ac b/configure.ac
index 5dd17b20809b..d679fa335919 100644
--- a/configure.ac
+++ b/configure.ac
.
| This change makes backward compatibility explicit, else it complains in
| the read function as well. With some more debug output it helps the
| developer to do things right.
|
| Signed-off-by: Juergen Borleis
| Signed-off-by: Sascha Hauer
Signed-off-by: Ulrich Ölmann
will panic barebox.
|
| Check if the value is sane. Make read_len unsigned to avoid negative
| values.
|
| Signed-off-by: Jan Remmet
| Signed-off-by: Sascha Hauer
Signed-off-by: Ulrich Ölmann
---
src/barebox-state/backend_bucket_direct.c | 7 ++-
1 file changed, 6 insertions(+), 1
Signed-off-by: Ulrich Ölmann
---
README.rst | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/README.rst b/README.rst
index 96337bfd49f2..c1e914990ea8 100644
--- a/README.rst
+++ b/README.rst
@@ -1,7 +1,7 @@
platsch - Splash Screen Application
Signed-off-by: Ulrich Ölmann
---
README.rst | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/README.rst b/README.rst
index c1e914990ea8..e318120605e6 100644
--- a/README.rst
+++ b/README.rst
@@ -106,10 +106,11 @@ Therefore the above settings can be supplied via
Signed-off-by: Ulrich Ölmann
---
platsch.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/platsch.c b/platsch.c
index dfa42dc9d544..c75f934935f2 100644
--- a/platsch.c
+++ b/platsch.c
@@ -398,9 +398,9 @@ static int set_env_connector_mode(drmModeConnector *conn
Signed-off-by: Ulrich Ölmann
---
platsch.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/platsch.c b/platsch.c
index c75f934935f2..8228b2f8a886 100644
--- a/platsch.c
+++ b/platsch.c
@@ -565,8 +565,8 @@ int main(int argc, char *argv[])
char drmdev[128
connector.
[1] https://www.kernel.org/doc/html/latest/admin-guide/kernel-parameters.html
Signed-off-by: Ulrich Ölmann
---
README.rst | 12
platsch.c | 9 +
2 files changed, 17 insertions(+), 4 deletions(-)
diff --git a/README.rst b/README.rst
index 07f60177b510
31 matches
Mail list logo