From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 78092] GK208M [GeForce GT 730M] (rev ff) (prog-if ff) nouveau module load fail Date: Wed, 30 Apr 2014 20:09:42 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1901998749==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1901998749== Content-Type: multipart/alternative; boundary="1398888581.E25daE4F1.17411"; charset="us-ascii" --1398888581.E25daE4F1.17411 Date: Wed, 30 Apr 2014 20:09:41 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=78092 --- Comment #16 from Ilia Mirkin --- BTW, this isn't the immediate problem, but in your patch you have, if (!dhandle) printk("DEBUG: !dhandle\n"); return false; Which is unlikely to do what you expect. Unlike Python, C uses braces to define blocks, so that probably should have been if (!dhandle) { printk("DEBUG: !dhandle\n"); return false; } But if the first print isn't getting triggered, it doesn't even get far enough for this to be a problem. -- You are receiving this mail because: You are the assignee for the bug. --1398888581.E25daE4F1.17411 Date: Wed, 30 Apr 2014 20:09:41 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 16 on bug 78092 from
BTW, this isn't the immediate problem, but in your patch you have,

    if (!dhandle)
        printk("DEBUG: !dhandle\n"); 
        return false;

Which is unlikely to do what you expect. Unlike Python, C uses braces to define
blocks, so that probably should have been

    if (!dhandle) {
        printk("DEBUG: !dhandle\n"); 
        return false;
    }

But if the first print isn't getting triggered, it doesn't even get far enough
for this to be a problem.


You are receiving this mail because:
  • You are the assignee for the bug.
--1398888581.E25daE4F1.17411-- --===============1901998749== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============1901998749==--