From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 68456] [NV4B] null deref on load, NvI2C=1 makes it work Date: Fri, 23 Aug 2013 01:46:45 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0487291110==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0487291110== Content-Type: multipart/alternative; boundary="1377222405.cfc2bDb2.28847"; charset="us-ascii" --1377222405.cfc2bDb2.28847 Date: Fri, 23 Aug 2013 01:46:45 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=68456 --- Comment #2 from Ilia Mirkin --- Created attachment 84484 --> https://bugs.freedesktop.org/attachment.cgi?id=84484&action=edit pass i2c functions into create func Can you give this patch a shot? It compiles, but I haven't tested it beyond that. Should fix the null deref. But it might still not work. (Obviously without the NvI2C=1 thing.) BTW, how are you hitting this? Did you set something in i2c like bit_test=1? -- You are receiving this mail because: You are the assignee for the bug. --1377222405.cfc2bDb2.28847 Date: Fri, 23 Aug 2013 01:46:45 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 2 on bug 68456 from
Created attachment 84484 [details] [review]
pass i2c functions into create func

Can you give this patch a shot? It compiles, but I haven't tested it beyond
that. Should fix the null deref. But it might still not work. (Obviously
without the NvI2C=1 thing.) BTW, how are you hitting this? Did you set
something in i2c like bit_test=1?


You are receiving this mail because:
  • You are the assignee for the bug.
--1377222405.cfc2bDb2.28847-- --===============0487291110== 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 --===============0487291110==--