Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0fa96e39 authored by Sudip Mukherjee's avatar Sudip Mukherjee Committed by Greg Kroah-Hartman
Browse files

staging: sm750fb: correct integer comparison



fixed the build warning about comparison of pointer and integer.
end of string was being compared to NULL.

Signed-off-by: default avatarSudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 06a1bf81
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1000,7 +1000,7 @@ static void sm750fb_setup(struct lynx_share * share,char * src)
            goto NO_PARAM;
        }

        while((opt = strsep(&src,":")) != NULL && *opt != NULL){
        while((opt = strsep(&src,":")) != NULL && *opt != 0){
			pr_err("opt=%s\n",opt);
			pr_err("src=%s\n",src);