1
0
Fork 0
remarkable-linux/fs/9p
Julia Lawall f1d9e4586e fs/9p: change simple_strtol to simple_strtoul
Since v9ses->uid is unsigned, it would seem better to use simple_strtoul that
simple_strtol.

A simplified version of the semantic patch that makes this change is as
follows: (http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@r2@
long e;
position p;
@@

e = simple_strtol@p(...)

@@
position p != r2.p;
type T;
T e;
@@

e =
- simple_strtol@p
+ simple_strtoul
  (...)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Acked-by: Eric Van Hensbergen <ericvh@gmail.com>
2008-12-19 16:50:22 -06:00
..
Makefile 9p: Reorganization of 9p file system code 2007-07-14 15:13:40 -05:00
fid.c 9p: convert d_iname references to d_name.name 2008-12-19 16:47:40 -06:00
fid.h 9p: Documentation updates 2008-05-14 19:23:25 -05:00
v9fs.c fs/9p: change simple_strtol to simple_strtoul 2008-12-19 16:50:22 -06:00
v9fs.h 9p: Documentation updates 2008-05-14 19:23:25 -05:00
v9fs_vfs.h 9p: rework client code to use new protocol support functions 2008-10-17 11:04:45 -05:00
vfs_addr.c 9p: move readn meta-function from client to fs layer 2008-10-17 11:04:43 -05:00
vfs_dentry.c 9p: convert d_iname references to d_name.name 2008-12-19 16:47:40 -06:00
vfs_dir.c 9p: eliminate depricated conv functions 2008-10-17 11:06:57 -05:00
vfs_file.c 9p: fix format warning 2008-10-22 18:48:45 -05:00
vfs_inode.c 9p: convert d_iname references to d_name.name 2008-12-19 16:47:40 -06:00
vfs_super.c 9p: rework client code to use new protocol support functions 2008-10-17 11:04:45 -05:00