forked from len0rd/rockbox
Remove buflib allocation names, part two
Remove allocation names from the buflib API and fix up all callers. Change-Id: I3df922e258d5f0d711d70e72b56b4ed634fb0f5a
This commit is contained in:
parent
3301c5aa6d
commit
1e9ad3ca0d
39 changed files with 69 additions and 115 deletions
|
|
@ -451,8 +451,7 @@ void usb_storage_init_connection(void)
|
|||
unsigned char * buffer;
|
||||
|
||||
// Add 31 to handle worst-case misalignment
|
||||
usb_handle = core_alloc_ex("usb storage",
|
||||
ALLOCATE_BUFFER_SIZE + MAX_CBW_SIZE + 31,
|
||||
usb_handle = core_alloc_ex(ALLOCATE_BUFFER_SIZE + MAX_CBW_SIZE + 31,
|
||||
&buflib_ops_locked);
|
||||
if (usb_handle < 0)
|
||||
panicf("%s(): OOM", __func__);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue