lkml.org 
[lkml]   [2009]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 11/56] freevxfs: Remove void casts
    Date
    Remove uneeded void casts

    Signed-Off-By: Jack Stone <jwjstone@fastmail.fm>
    ---
    fs/freevxfs/vxfs_inode.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/fs/freevxfs/vxfs_inode.c b/fs/freevxfs/vxfs_inode.c
    index 03a6ea5..9811217 100644
    --- a/fs/freevxfs/vxfs_inode.c
    +++ b/fs/freevxfs/vxfs_inode.c
    @@ -138,7 +138,7 @@ __vxfs_iget(ino_t ino, struct inode *ilistp)
    if (!IS_ERR(pp)) {
    struct vxfs_inode_info *vip;
    struct vxfs_dinode *dip;
    - caddr_t kaddr = (char *)page_address(pp);
    + caddr_t kaddr = page_address(pp);

    if (!(vip = kmem_cache_alloc(vxfs_inode_cachep, GFP_KERNEL)))
    goto fail;
    --
    1.5.4.3


    \
     
     \ /
      Last update: 2009-04-08 13:31    [W:4.085 / U:0.040 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site