lkml.org 
[lkml]   [2019]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] powerpc/powernv: fix variable "c" set but not used
    On Thu, May 23, 2019 at 09:26:53AM +0200, Christophe Leroy wrote:
    > You are not fixing the problem, you are just hiding it.
    >
    > If the result of __get_user() is unneeded, it means __get_user() is not the
    > good function to use.
    >
    > Should use fault_in_pages_readable() instead.

    Also it is not just the variable that is unused, but that whole
    function. I'll resend my series to remote it in a bit.

    \
     
     \ /
      Last update: 2019-05-23 09:48    [W:3.546 / U:0.488 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site