Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757208AbXLLRFg (ORCPT ); Wed, 12 Dec 2007 12:05:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756993AbXLLRE4 (ORCPT ); Wed, 12 Dec 2007 12:04:56 -0500 Received: from mx1.redhat.com ([66.187.233.31]:45735 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753825AbXLLREy (ORCPT ); Wed, 12 Dec 2007 12:04:54 -0500 Date: Wed, 12 Dec 2007 12:04:40 -0500 From: Dave Jones To: Thomas Klein Cc: Paul Mackerras , Christoph Raisch , Jan-Bernd Themann , linux-kernel , linux-ppc , Marcus Eder , netdev , Stefan Roscher , Michael Ellermann , Michael Neuling Subject: Re: [RFC] ehea: kdump support using new shutdown hook Message-ID: <20071212170440.GD2359@redhat.com> Mail-Followup-To: Dave Jones , Thomas Klein , Paul Mackerras , Christoph Raisch , Jan-Bernd Themann , linux-kernel , linux-ppc , Marcus Eder , netdev , Stefan Roscher , Michael Ellermann , Michael Neuling References: <200712121753.43543.osstklei@de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200712121753.43543.osstklei@de.ibm.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 564 Lines: 20 On Wed, Dec 12, 2007 at 05:53:43PM +0100, Thomas Klein wrote: > +static void ehea_update_adapter_handles(struct ehea_adapter *adapter) > +{ > + int i, k; > + int j = 0; > + > + memset(adapter->res_handles, sizeof(adapter->res_handles), 0); arguments wrong way around. Dave -- http://www.codemonkey.org.uk -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/