[astyle]: astyle format

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@138 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenHengming
2015-08-20 09:42:06 +00:00
parent 4007adfd28
commit e679ce5d19
3 changed files with 6 additions and 5 deletions

View File

@@ -50,14 +50,14 @@ static int ion_ioctl(int fd, int req, void *arg)
int ret = ioctl(fd, req, arg);
if (ret < 0) {
mpp_err("ion_ioctl %x failed with code %d: %s\n", req,
ret, strerror(errno));
ret, strerror(errno));
return -errno;
}
return ret;
}
static int ion_alloc(int fd, size_t len, size_t align, unsigned int heap_mask,
unsigned int flags, ion_user_handle_t *handle)
unsigned int flags, ion_user_handle_t *handle)
{
int ret;
struct ion_allocation_data data = {
@@ -108,7 +108,8 @@ static int ion_share(int fd, ion_user_handle_t handle, int *share_fd)
}
static int ion_alloc_fd(int fd, size_t len, size_t align, unsigned int heap_mask,
unsigned int flags, int *handle_fd) {
unsigned int flags, int *handle_fd)
{
ion_user_handle_t handle;
int ret;