#
e3f1aa1e |
| 10-Jul-2024 |
Alexander Hansen <alexander.hansen@9elements.com> |
util: Consolidate ARRAY_SIZE() definitions
ARRAY_SIZE() was defined several times around the code-base. Provide a single definition in util.h and include it where necessary.
Change-Id: Idc4cf030969
util: Consolidate ARRAY_SIZE() definitions
ARRAY_SIZE() was defined several times around the code-base. Provide a single definition in util.h and include it where necessary.
Change-Id: Idc4cf030969ffc7f0928c6897a23962a70adcf05 Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
show more ...
|
Revision tags: v1.1.0 |
|
#
2834c5b1 |
| 18-Apr-2023 |
Andrew Jeffery <andrew@aj.id.au> |
obmc-console: Fix readability-braces-around-statements
Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Change-Id: I88d2bdcb15106298d83a1cf7176e069092820f1d
|
#
5c359cc6 |
| 18-Apr-2023 |
Andrew Jeffery <andrew@aj.id.au> |
obmc-console: Fix bugprone-narrowing-conversions
For example:
``` /mnt/host/andrew/home/andrew/src/openbmc/obmc-console/build/../console-server.c:769:9: error: narrowing conversion from 'ssize_t' (
obmc-console: Fix bugprone-narrowing-conversions
For example:
``` /mnt/host/andrew/home/andrew/src/openbmc/obmc-console/build/../console-server.c:769:9: error: narrowing conversion from 'ssize_t' (aka 'long') to signed type 'int' is implementation-defined [bugprone-narrowing-conversions,-warnings-as-errors] rc = read(console->tty_fd, buf, sizeof(buf)); ^ ```
Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Change-Id: I67c158b411f1533ca3b5a62803116e95907e8c5b
show more ...
|
#
f2232d5f |
| 18-Apr-2023 |
Andrew Jeffery <andrew@aj.id.au> |
obmc-console: Fix bugprone-macro-parentheses
For example:
``` /usr/bin/clang-tidy -checks=-*, bugprone-macro-parentheses -export-fixes /tmp/tmpzth2fheg/tmp9x7dpgyc.yaml -p=build /mnt/host/andrew/ho
obmc-console: Fix bugprone-macro-parentheses
For example:
``` /usr/bin/clang-tidy -checks=-*, bugprone-macro-parentheses -export-fixes /tmp/tmpzth2fheg/tmp9x7dpgyc.yaml -p=build /mnt/host/andrew/home/andrew/src/openbmc/obmc-console/console-server.c /mnt/host/andrew/home/andrew/src/openbmc/obmc-console/build/../console-server.h:150:43: error: macro argument should be enclosed in parentheses [bugprone-macro-parentheses,-warnings-as-errors] ^ () ```
Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Change-Id: I10b93e2b3e16b51bcdf2adf113a38e67bce37e88
show more ...
|
#
a72711af |
| 18-Apr-2023 |
Andrew Jeffery <andrew@aj.id.au> |
obmc-console: Add clang-format configuration
And apply the formatting.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Change-Id: I75251051affa5129c8698185baf8d151302b19d6
|
#
8f548f6c |
| 17-Apr-2023 |
Andrew Jeffery <andrew@aj.id.au> |
obmc-console: Clean up invalid sign comparisons
Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Change-Id: I83fae6857620ca2913952bea597c1299dd962620
|
#
71e7a249 |
| 12-Feb-2020 |
Andrew Jeffery <andrew@aj.id.au> |
console-client: Enable use of a configuration file
However, only initialise a config if the option was provided. This avoids searching for the default config, which may not exist and is intended for
console-client: Enable use of a configuration file
However, only initialise a config if the option was provided. This avoids searching for the default config, which may not exist and is intended for the server.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Change-Id: I08f736243c1843bfb8855f5ceb69418d59a8775a
show more ...
|
#
5e7c0786 |
| 09-Feb-2020 |
Andrew Jeffery <andrew@aj.id.au> |
console-socket: Add an optional component to UNIX socket abstract names
Allows multiple instances of obmc-console-server to run concurrently without interfering with each other.
Signed-off-by: Andr
console-socket: Add an optional component to UNIX socket abstract names
Allows multiple instances of obmc-console-server to run concurrently without interfering with each other.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Change-Id: I7ef9c14e554c687e8d606e1eaaed82a7f1c06d98
show more ...
|
#
c5ce2cbd |
| 25-Jul-2019 |
Jeremy Kerr <jk@ozlabs.org> |
tests: Add client escape test
Add a small testcase for the escape-parsing code.
Change-Id: I2296d1bd0b1a97b46565e56ed867dd39a159baec Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
|