mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
mm, audio, crypto, graphics: Fix various spacing/alignment issues
This commit is contained in:
+4
-4
@@ -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
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user