Age | Commit message (Collapse) | Author | Files | Lines |
|
The prototype for basename has been removed from string.h in the latest
versions of musl [1]. This absence of prototype is flagged as an error
by some compilers, such as clang-18. To resolve this, include libgen.h
explicitly, which provides the prototype for basename.
[1] https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7
Signed-off-by: Khem Raj <raj.khem@gmail.com>
[sathya: Updated the commit log]
Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
|
|
Add some example data files illustrating some simple test cases and
the different syntax variations.
Signed-off-by: Andrew Patterson <andrew.patterson@hp.com>
Signed-off-by: Huang Ying <ying.huang@intel.com>
|
|
Introduce aliases for some of the longer-length keywords:
PCI_ID = ID
COR_STATUS = COR = CORRECTABLE
UNCOR_STATUS = UNCOR = UNCORRECTABLE
HEADER_LOG = HL
Signed-off-by: Andrew Patterson <andrew.patterson@hp.com>
Signed-off-by: Huang Ying <ying.huang@intel.com>
|
|
The PCI ID may be specified on the command-line using -s|--id instead
of taking it from the data file using the PCI_ID keyword. The PCI_ID
specified in data file will be overrided by the command-line option.
Added -v|--version and -h|--help command-line options.
Signed-off-by: Andrew Patterson <andrew.patterson@hp.com>
Signed-off-by: Huang Ying <ying.huang@intel.com>
|
|
Use the lspci -s style of specificying a PCI device
[<domain>]:]<bus>:<slot>.<func> instead of
DOMAIN <domain> BUS <bus> DEV <dev> FN <func>.
Huang Ying: check the syntax and extract the string of PCI_ID in lex,
then parse the string later in yacc.
Signed-off-by: Andrew Patterson <andrew.patterson@hp.com>
Signed-off-by: Huang Ying <ying.huang@intel.com>
|
|
Add support for multiple PCI domains (segments). This patch requires
corresponding support in the aer_inject driver (2.6.33 or later).
Signed-off-by: Andrew Patterson <andrew.patterson@hp.com>
Signed-off-by: Huang Ying <ying.huang@intel.com>
|
|
TAB instead of space should be used before commands in rules.
Signed-off-by: Huang Ying <ying.huang@intel.com>
|
|
Add install target in Makefile
|
|
|