On (23/03/07 22:01), Namjae Jeon wrote: > Smatch static checker warning: > fs/ksmbd/vfs.c:1040 ksmbd_vfs_fqar_lseek() warn: no lower bound on 'length' > fs/ksmbd/vfs.c:1041 ksmbd_vfs_fqar_lseek() warn: no lower bound on 'start' > > Fix unexpected result that could caused from negative start and length. > > Fixes: f44158485826 ("cifsd: add file operations") > Reported-by: Dan Carpenter <error27@xxxxxxxxx> > Signed-off-by: Namjae Jeon <linkinjeon@xxxxxxxxxx> Reviewed-by: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx>