From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id 29513B6F1F for ; Wed, 8 Jul 2009 02:05:09 +1000 (EST) Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 82182DDD0C for ; Wed, 8 Jul 2009 02:05:08 +1000 (EST) Message-Id: From: Kumar Gala To: =?ISO-8859-1?Q?K=E1ri_Dav=ED=F0sson?= In-Reply-To: <4A5368C7.9020202@marel.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Mime-Version: 1.0 (Apple Message framework v935.3) Subject: Re: dma_ops->map_page == NULL Date: Tue, 7 Jul 2009 10:45:22 -0500 References: <4A523984.2080904@marel.com> <200907071015.24097.markn@au1.ibm.com> <1246964905.6066.41.camel@pasglop> <4A5368C7.9020202@marel.com> Cc: Mark Nelson , "linuxppc-dev@ozlabs.org" , Kumar Gala List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Jul 7, 2009, at 10:24 AM, K=E1ri Dav=ED=F0sson wrote: > Yes the device pointer was invalid. > > I was passing the of_device pointer instead of > the address of of_device->dev. > > But I am sure this was working (passing of_device pointer) with > earlier kernels. > > Thanks for the help. > > rg > kd earlier kernels didn't care if the dev pointer was valid and thus let =20= it pass if you didn't give the proper thing. - k=