From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758948AbXKNOT2 (ORCPT ); Wed, 14 Nov 2007 09:19:28 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755321AbXKNOTU (ORCPT ); Wed, 14 Nov 2007 09:19:20 -0500 Received: from DSL022.labridge.com ([206.117.136.22]:1388 "EHLO perches.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754419AbXKNOTU (ORCPT ); Wed, 14 Nov 2007 09:19:20 -0500 Subject: Re: [PATCH] - [12/15] - remove defconfig ptr comparisons to 0 - include/asm-x86 From: Joe Perches To: Thomas Gleixner Cc: linux-kernel , Linus Torvalds , Ingo Molnar , "H. Peter Anvin" In-Reply-To: References: <1195005932.5163.98.camel@localhost> Content-Type: text/plain Date: Wed, 14 Nov 2007 06:19:05 -0800 Message-Id: <1195049945.5163.138.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.12.0-2mdv2008.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2007-11-14 at 11:54 +0100, Thomas Gleixner wrote: > can you please CC the relevant maintainers on patches ? I do try. I also happen to have a series of patches to MAINTAINERS and a scripts/get_maintainer.pl that do exactly that. Maybe a future version might use it. cheers, Joe > > diff --git a/include/asm-x86/mach-es7000/mach_mpparse.h b/include/asm-x86/mach-es7000/mach_mpparse.h > > index 8aa1054..a1dd66f 100644 > > --- a/include/asm-x86/mach-es7000/mach_mpparse.h > > +++ b/include/asm-x86/mach-es7000/mach_mpparse.h > > @@ -29,7 +29,7 @@ extern int mps_oem_check(struct mp_config_table *mpc, char *oem, > > static inline int es7000_check_dsdt(void) > > { > > struct acpi_table_header header; > > - memcpy(&header, 0, sizeof(struct acpi_table_header)); > > + memcpy(&header, (void *)0, sizeof(struct acpi_table_header)); > > acpi_get_table_header(ACPI_SIG_DSDT, 0, &header); > > if (!strncmp(header.oem_id, "UNISYS", 6)) > > return 1;