Staging: android: ion: ion_test.c: fix parenthesis alignment
This fixes the checkpatch.pl "Alignment should match open parenthesis" issues in ion_test.c. Signed-off-by: Ben LeMasurier <ben@crypt.ly> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
33a5956c2c
commit
4485842493
|
@ -42,7 +42,8 @@ struct ion_test_data {
|
||||||
};
|
};
|
||||||
|
|
||||||
static int ion_handle_test_dma(struct device *dev, struct dma_buf *dma_buf,
|
static int ion_handle_test_dma(struct device *dev, struct dma_buf *dma_buf,
|
||||||
void __user *ptr, size_t offset, size_t size, bool write)
|
void __user *ptr, size_t offset, size_t size,
|
||||||
|
bool write)
|
||||||
{
|
{
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
struct dma_buf_attachment *attach;
|
struct dma_buf_attachment *attach;
|
||||||
|
@ -180,7 +181,8 @@ static long ion_test_ioctl(struct file *filp, unsigned int cmd,
|
||||||
{
|
{
|
||||||
ret = ion_handle_test_dma(test_data->dev, test_data->dma_buf,
|
ret = ion_handle_test_dma(test_data->dev, test_data->dma_buf,
|
||||||
u64_to_uptr(data.test_rw.ptr),
|
u64_to_uptr(data.test_rw.ptr),
|
||||||
data.test_rw.offset, data.test_rw.size,
|
data.test_rw.offset,
|
||||||
|
data.test_rw.size,
|
||||||
data.test_rw.write);
|
data.test_rw.write);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -188,7 +190,8 @@ static long ion_test_ioctl(struct file *filp, unsigned int cmd,
|
||||||
{
|
{
|
||||||
ret = ion_handle_test_kernel(test_data->dma_buf,
|
ret = ion_handle_test_kernel(test_data->dma_buf,
|
||||||
u64_to_uptr(data.test_rw.ptr),
|
u64_to_uptr(data.test_rw.ptr),
|
||||||
data.test_rw.offset, data.test_rw.size,
|
data.test_rw.offset,
|
||||||
|
data.test_rw.size,
|
||||||
data.test_rw.write);
|
data.test_rw.write);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue