lkml.org 
[lkml]   [2019]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: staging: exfat: issue with FFS_MEDIAERR error return assignment
From
Date
On 10/09/2019 13:44, Dan Carpenter wrote:
> On Fri, Aug 30, 2019 at 07:38:00PM +0100, Colin Ian King wrote:
>> Hi,
>>
>> Static analysis on exfat with Coverity has picked up an assignment of
>> FFS_MEDIAERR that gets over-written:
>>
>>
>> 1750 if (is_dir) {
>> 1751 if ((fid->dir.dir == p_fs->root_dir) &&
>> 1752 (fid->entry == -1)) {
>> 1753 if (p_fs->dev_ejected)
>
> Idealy we would have both a filename and a function name but this email
> doesn't have either so no one knows what code you are talking about. :P

Oops, my bad.

drivers/staging/exfat/exfat_super.c ffsWriteStat()

>
> regards,
> dan carpenter
>

\
 
 \ /
  Last update: 2019-09-10 14:59    [W:1.392 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site