Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751623AbdFOFSV (ORCPT ); Thu, 15 Jun 2017 01:18:21 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:46414 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750783AbdFOFSU (ORCPT ); Thu, 15 Jun 2017 01:18:20 -0400 Date: Thu, 15 Jun 2017 07:18:10 +0200 From: Greg KH To: "Edward A. James" Cc: linux-kernel@vger.kernel.org, bradleyb@fuzziesquirrel.com, jk@ozlabs.org, cbostic@linux.vnet.ibm.com, joel@jms.id.au, andrew@aj.id.au Subject: Re: [PATCH linux] drivers/fsi: Add SBEFIFO FSI client device driver Message-ID: <20170615051810.GB28985@kroah.com> References: <1497469647-4608-1-git-send-email-eajames@us.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1497469647-4608-1-git-send-email-eajames@us.ibm.com> User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 198 Lines: 9 On Wed, Jun 14, 2017 at 02:47:27PM -0500, Edward A. James wrote: > +static DEFINE_IDA(sbefifo_ida); WHen your module exits, you don't clean up this structure. Common mistake :) thanks, greg k-h