jlaitine commented on code in PR #8000: URL: https://github.com/apache/nuttx/pull/8000#discussion_r1060001619
########## fs/tmpfs/fs_tmpfs.c: ########## @@ -1640,38 +1643,27 @@ static off_t tmpfs_seek(FAR struct file *filep, off_t offset, int whence) return position; } -/**************************************************************************** - * Name: tmpfs_ioctl - ****************************************************************************/ - -static int tmpfs_ioctl(FAR struct file *filep, int cmd, unsigned long arg) +static int tmpfs_mmap(FAR struct file *filep, FAR void **addr, off_t start, + size_t length) { FAR struct tmpfs_file_s *tfo; - FAR void **ppv = (FAR void**)arg; + int ret = -EINVAL; - finfo("filep: %p cmd: %d arg: %08lx\n", filep, cmd, arg); DEBUGASSERT(filep->f_priv != NULL && filep->f_inode != NULL); - /* Recover our private data from the struct file instance */ Review Comment: Done -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org