Dmitry Rakhchev
34711329c2
Add mac2str() and str2mac() to print/parse MAC address
2016-07-31 08:52:40 +02:00
Dmitry Rakhchev
f9211f8ed9
Moved ipmi_parse_hex() to helper.c
2016-07-31 08:52:40 +02:00
Dmitry Rakhchev
9a6ba64651
Extend buf2str to allow separator
2016-07-31 08:52:40 +02:00
Zdenek Styblik
eb5c73c04e
ID:355 - Add macros and #include and reduce number of warnings
...
Commit adds macros and #include in order to bring down the number of `warning:
implicit declaration of function 'X' [-Wimplicit-function-declaration]`
warnings.
2016-03-13 11:40:10 +01:00
Zdenek Styblik
b591bc2ab7
Handle more retcodes in eval_ccode()
2015-01-30 07:04:39 +01:00
Zdenek Styblik
bb35d370ba
Add eval_ccode() into helper
...
Commit adds eval_ccode() into helper in order to save some code repetition on
evaluation of retvals from _ipmi_* functions.
2015-01-08 19:43:27 +01:00
Zdenek Styblik
ce02ffaf2a
ID:354 - forcefully switch to C99 and more strict CFLAGS
...
Commit changes CFLAGS which include C99 and more strict flags. Watch out for
falling rocks.
2014-12-23 14:37:25 +01:00
Zdenek Styblik
148d0e0904
ID:354 - uint8_t >= 0 is always true, don't test it
...
Commit removes test whether value is greater or equal to 0 in
is_ipmi_channel_num(), because it's always true(and it makes compiler mad).
2014-12-23 14:22:00 +01:00
Zdenek Styblik
140add9d77
Fix user input validation in Channel and User sub-commands
...
Commit fixes validation of user input in Channel and User sub-commands.
2014-12-22 18:21:51 +01:00
Zdenek Styblik
6e6a04f971
Make user User Privilege Limit is within range
...
Despite the fact we could leave this up to IPMI stack, we won't do that.
Therefore, is_ipmi_user_priv_limit() is added and user provided value checked.
2014-12-20 13:57:06 +01:00
Zdenek Styblik
7cd86aaf1e
ID:347 - Incorrect reserved channel number
...
Fix validation of IPMI channel numbers according to IPMIv2.0 rev1.1 and update
documentation as well.
2014-12-05 13:39:31 +01:00
Parthasarathy Bhuvaragan
bee3fda656
update result ptr before return
...
Change-Id: If976f5c769d8ba83eefa1693e6969ef17f357ba8
Signed-off-by: Parthasarathy Bhuvaragan <parthasarathy.xx.bhuvaragan@ericsson.com>
2014-09-03 09:44:57 +02:00
Petter Reinholdtsen
c18ec02f33
Move all files one level up in the file hierarcy, to avoid the useless ipmitool directory.
2014-02-05 17:30:32 +01:00