From mboxrd@z Thu Jan 1 00:00:00 1970 From: greg@kroah.com (Greg KH) Date: Wed, 11 May 2011 21:49:16 -0700 Subject: tools to identify bugs in driver In-Reply-To: References: Message-ID: <20110512044916.GA24855@kroah.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Thu, May 12, 2011 at 10:04:04AM +0530, Amit Nagal wrote: > Hi , > > What are the mandatory tools that must be run to identify potential > bugs ( say memory , locking etc ) > in a linux device driver ? Turn lockdep and the kernel memory leak detector and run your driver and see what happens. Have you tried that? thanks, greg k-h