Searched refs:CommandBuffer (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/block/
H A DDAC960.c6551 unsigned char CommandBuffer[80]; dac960_user_command_proc_write() local
6553 if (Count > sizeof(CommandBuffer)-1) return -EINVAL; dac960_user_command_proc_write()
6554 if (copy_from_user(CommandBuffer, Buffer, Count)) return -EFAULT; dac960_user_command_proc_write()
6555 CommandBuffer[Count] = '\0'; dac960_user_command_proc_write()
6556 Length = strlen(CommandBuffer); dac960_user_command_proc_write()
6557 if (Length > 0 && CommandBuffer[Length-1] == '\n') dac960_user_command_proc_write()
6558 CommandBuffer[--Length] = '\0'; dac960_user_command_proc_write()
6560 return (DAC960_V1_ExecuteUserCommand(Controller, CommandBuffer) dac960_user_command_proc_write()
6563 return (DAC960_V2_ExecuteUserCommand(Controller, CommandBuffer) dac960_user_command_proc_write()

Completed in 75 milliseconds