Re: [PATCH v1 2/2] fs/devfs: fix compile warnings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is the list of all warnings:
common/ratp/ratp.c:75:22: warning: no previous prototype for
‘find_ratp_request’ [-Wmissing-prototypes]
fs/devfs.c:196:5: warning: no previous prototype for ‘devfs_iterate’
[-Wmissing-prototypes]
fs/fs.c:96:18: warning: no previous prototype for ‘mntget’
[-Wmissing-prototypes]
fs/fs.c:106:6: warning: no previous prototype for ‘mntput’
[-Wmissing-prototypes]
fs/fs.c:114:18: warning: no previous prototype for ‘lookup_mnt’
[-Wmissing-prototypes]
fs/fs.c:184:5: warning: no previous prototype for ‘create’
[-Wmissing-prototypes]
fs/fs.c:612:6: warning: no previous prototype for ‘dentry_kill’
[-Wmissing-prototypes]
fs/fs.c:625:5: warning: no previous prototype for
‘dentry_delete_subtree’ [-Wmissing-prototypes]
fs/fs.c:1115:16: warning: no previous prototype for ‘__d_alloc’
[-Wmissing-prototypes]
fs/fs.c:1155:16: warning: no previous prototype for ‘d_alloc’
[-Wmissing-prototypes]
fs/fs.c:1228:16: warning: no previous prototype for ‘d_lookup’
[-Wmissing-prototypes]
fs/fs.c:1244:6: warning: no previous prototype for ‘d_invalidate’
[-Wmissing-prototypes]
fs/fs.c:1321:6: warning: no previous prototype for ‘path_get’
[-Wmissing-prototypes]
fs/fs.c:1327:6: warning: no previous prototype for ‘path_put’
[-Wmissing-prototypes]
fs/fs.c:1510:5: warning: no previous prototype for ‘follow_up’
[-Wmissing-prototypes]
fs/fs.c:1702:18: warning: no previous prototype for ‘getname’
[-Wmissing-prototypes]
fs/fs.c:1721:6: warning: no previous prototype for ‘putname’
[-Wmissing-prototypes]
fs/fs.c:2068:5: warning: no previous prototype for ‘vfs_rmdir’
[-Wmissing-prototypes]
fs/fs.c:2092:5: warning: no previous prototype for ‘vfs_mkdir’
[-Wmissing-prototypes]
fs/fs.c:2351:5: warning: no previous prototype for ‘vfs_symlink’
[-Wmissing-prototypes]

Not sure if make sense to list all of them. Especially if you can see
from the patch diff, what the patch is doing.

Am 17.10.2018 um 11:22 schrieb Roland Hieber:
> For both of these, it would be nice to know what the compiler warnings
> were, in case anyone wants to grep the logs.
> 
>  - Roland
> 
> On Tue, Oct 16, 2018 at 09:50:22PM +0200, Oleksij Rempel wrote:
>> Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>
>> ---
>>  fs/devfs.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/fs/devfs.c b/fs/devfs.c
>> index d2b801036e..10f098280e 100644
>> --- a/fs/devfs.c
>> +++ b/fs/devfs.c
>> @@ -193,7 +193,7 @@ static struct inode *devfs_alloc_inode(struct super_block *sb)
>>  	return &node->inode;
>>  }
>>  
>> -int devfs_iterate(struct file *file, struct dir_context *ctx)
>> +static int devfs_iterate(struct file *file, struct dir_context *ctx)
>>  {
>>  	struct cdev *cdev;
>>  
>> -- 
>> 2.19.0
>>
>>
>> _______________________________________________
>> barebox mailing list
>> barebox@xxxxxxxxxxxxxxxxxxx
>> http://lists.infradead.org/mailman/listinfo/barebox
>>
> 


-- 
Regards,
Oleksij

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux