mm, audio, crypto, graphics: Fix various spacing/alignment issues

This commit is contained in:
Gregory Nutt
2015-10-08 09:10:22 -06:00
parent 78ae661223
commit 06cd5b2fcc
31 changed files with 92 additions and 90 deletions
+4 -4
View File
@@ -96,11 +96,11 @@ static ssize_t cryptodev_write(FAR struct file *filep, FAR const char *buffer,
static int cryptodev_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
{
switch(cmd)
switch (cmd)
{
case CIOCGSESSION:
{
struct session_op *ses = (struct session_op*)arg;
FAR struct session_op *ses = (FAR struct session_op *)arg;
ses->ses = (uint32_t)ses;
return OK;
}
@@ -112,8 +112,8 @@ static int cryptodev_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
case CIOCCRYPT:
{
FAR struct crypt_op *op = (struct crypt_op*)arg;
FAR struct session_op *ses = (struct session_op*)op->ses;
FAR struct crypt_op *op = (FAR struct crypt_op *)arg;
FAR struct session_op *ses = (FAR struct session_op *)op->ses;
int encrypt;
switch (op->op)
+1 -1
View File
@@ -68,7 +68,7 @@
* Private Functions
****************************************************************************/
static int do_test_aes(FAR struct cipher_testvec* test, int mode, int encrypt)
static int do_test_aes(FAR struct cipher_testvec *test, int mode, int encrypt)
{
FAR void *out = kmm_zalloc(test->rlen);