Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 40833a9

Browse files
committed
hello_fft: fix warning during build
1 parent 53de15c commit 40833a9

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

host_applications/linux/apps/hello_pi/hello_fft/gpu_fft.c

100755100644
File mode changed.

host_applications/linux/apps/hello_pi/hello_fft/mailbox.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ void *mapmem(unsigned base, unsigned size)
6767
return (char *)mem + offset;
6868
}
6969

70-
void *unmapmem(void *addr, unsigned size)
70+
void unmapmem(void *addr, unsigned size)
7171
{
7272
int s = munmap(addr, size);
7373
if (s != 0) {

host_applications/linux/apps/hello_pi/hello_fft/mailbox.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ unsigned mem_free(int file_desc, unsigned handle);
4040
unsigned mem_lock(int file_desc, unsigned handle);
4141
unsigned mem_unlock(int file_desc, unsigned handle);
4242
void *mapmem(unsigned base, unsigned size);
43-
void *unmapmem(void *addr, unsigned size);
43+
void unmapmem(void *addr, unsigned size);
4444

4545
unsigned execute_code(int file_desc, unsigned code, unsigned r0, unsigned r1, unsigned r2, unsigned r3, unsigned r4, unsigned r5);
4646
unsigned execute_qpu(int file_desc, unsigned num_qpus, unsigned control, unsigned noflush, unsigned timeout);

0 commit comments

Comments
 (0)