Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/block/
DDAC960.c6986 unsigned char CommandBuffer[80]; in DAC960_ProcWriteUserCommand() local
6988 if (Count > sizeof(CommandBuffer)-1) return -EINVAL; in DAC960_ProcWriteUserCommand()
6989 if (copy_from_user(CommandBuffer, Buffer, Count)) return -EFAULT; in DAC960_ProcWriteUserCommand()
6990 CommandBuffer[Count] = '\0'; in DAC960_ProcWriteUserCommand()
6991 Length = strlen(CommandBuffer); in DAC960_ProcWriteUserCommand()
6992 if (CommandBuffer[Length-1] == '\n') in DAC960_ProcWriteUserCommand()
6993 CommandBuffer[--Length] = '\0'; in DAC960_ProcWriteUserCommand()
6995 return (DAC960_V1_ExecuteUserCommand(Controller, CommandBuffer) in DAC960_ProcWriteUserCommand()
6998 return (DAC960_V2_ExecuteUserCommand(Controller, CommandBuffer) in DAC960_ProcWriteUserCommand()