View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001402 | channel: elrepo/el9 | kmod-rr64xl | public | 2023-11-11 07:33 | 2023-11-11 08:08 |
Reporter | pperry | Assigned To | pperry | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Summary | 0001402: Errors building kmod-rr64xl for RHEL9.3 | ||||
Description | Opened to track errors building kmod-rr64xl for RHEL9.3 /home/phil/rpmbuild/BUILD/kmod-rr64xl-1.5.6/product/rr64xl/linux/.build/os_linux.c: In function 'get_dmapool_phy_addr': /home/phil/rpmbuild/BUILD/kmod-rr64xl-1.5.6/product/rr64xl/linux/.build/os_linux.c:185:29: error: implicit declaration of function 'virt_to_bus'; did you mean 'virt_to_fix'? [-Werror=implicit-function-declaration] 185 | return (BUS_ADDRESS)virt_to_bus(dmapool_virt_addr); | ^~~~~~~~~~~ | virt_to_fix | ||||
Tags | No tags attached. | ||||
|
Fixed with: diff -Naurp a/osm/linux/os_linux.c b/osm/linux/os_linux.c --- a/osm/linux/os_linux.c 2021-10-26 08:22:36.000000000 +0100 +++ b/osm/linux/os_linux.c 2023-11-11 12:54:56.904363034 +0000 @@ -182,7 +182,7 @@ void freelist_put_dma(struct freelist *l BUS_ADDRESS get_dmapool_phy_addr(void *osext, void * dmapool_virt_addr) { - return (BUS_ADDRESS)virt_to_bus(dmapool_virt_addr); + return (BUS_ADDRESS)virt_to_phys(dmapool_virt_addr); } #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,18)) && defined(CONFIG_HIGHMEM) |
|
Built and released to the testing repo for now: kmod-rr64xl-1.5.6-4.el9_3.elrepo.src.rpm kmod-rr64xl-1.5.6-4.el9_3.elrepo.x86_64.rpm |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-11-11 07:33 | pperry | New Issue | |
2023-11-11 07:33 | pperry | Status | new => assigned |
2023-11-11 07:33 | pperry | Assigned To | => pperry |
2023-11-11 08:03 | pperry | Description Updated | |
2023-11-11 08:04 | pperry | Note Added: 0009414 | |
2023-11-11 08:08 | pperry | Note Added: 0009415 | |
2023-11-11 08:08 | pperry | Status | assigned => resolved |
2023-11-11 08:08 | pperry | Resolution | open => fixed |