mirror of
https://github.com/raspberrypi/userland.git
synced 2025-12-06 04:49:12 +00:00
debug_sym: Remove annoying message should fb copy fail
Any kernel not using bcm2708_fb as the FB driver is likely to fail the FBIODMACOPY ioctl that vcdbg tries to use to access the hidden 16MB of RAM behind the peripheral space. Remove the error message as it drops back to using /dev/mem instead anyway.
This commit is contained in:
committed by
popcornmix
parent
aa4e83406a
commit
ed1958642c
@@ -165,8 +165,6 @@ static int vc_mem_copy(void *dst, uint32_t src, uint32_t length)
|
||||
|
||||
if ( ioctl( memFd, FBIODMACOPY, &ioparam ) != 0 )
|
||||
{
|
||||
ERR( "Failed to get memory size via ioctl: %s(%d)\n",
|
||||
strerror( errno ), errno );
|
||||
close( memFd );
|
||||
return -errno;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user