• Alexey Dobriyan's avatar
    fs/file: more unsigned file descriptors · 9b80a184
    Alexey Dobriyan authored
    Propagate unsignedness for grand total of 149 bytes:
    
    	$ ./scripts/bloat-o-meter ../vmlinux-000 ../obj/vmlinux
    	add/remove: 0/0 grow/shrink: 0/10 up/down: 0/-149 (-149)
    	function                                     old     new   delta
    	set_close_on_exec                             99      98      -1
    	put_files_struct                             201     200      -1
    	get_close_on_exec                             59      58      -1
    	do_prlimit                                   498     497      -1
    	do_execveat_common.isra                     1662    1661      -1
    	__close_fd                                   178     173      -5
    	do_dup2                                      219     204     -15
    	seq_show                                     685     660     -25
    	__alloc_fd                                   384     357     -27
    	dup_fd                                       718     646     -72
    
    It mostly comes from converting "unsigned int" to "long" for bit operations.
    Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
    9b80a184
sysctl.c 67.5 KB