Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp666141ybi; Thu, 30 May 2019 04:59:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqzFxDtWwfMJoTATWjdvdELH/78OMPEooWeoWDDZsGErww5qhMlmrcxrYCZ8UDrAwIVmnqAL X-Received: by 2002:a62:3145:: with SMTP id x66mr3379682pfx.223.1559217539996; Thu, 30 May 2019 04:58:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559217539; cv=none; d=google.com; s=arc-20160816; b=ChXUE47RptorsVhIqshMchFWPG2AnrtbvJNpJ0hnQ8+IeViJBBpuUDzk7vAUBS5nMr 5hOYoEPRi1xJwes0AZW/u2zQ1EqXDDardGEPKHS1y3XPjgGhkIPDgG86158mzV4eBRUo XGcDQA7PKkYeAbfvyFE5JDjjTzenNNE0PGdub3j1rEgD7YOveTqOXqJQDIqivrZu35ew WZVzq7WivEMWOGyXTDM/JJ2AVHwNdGMsT8MA5NdBRVKGv1SUSQDDpbTU85Gi+NGj5G8b kdga1iosIZ1otgindWpjjamnt5K+2hkRVq8Dx+Ezp8WDunV1XogobzXQUgrArfDMfvAM w/cA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=eTQC/oPjKctf9+jwv+9o+SP28ukkJeoIsObvYLKhKCk=; b=AtOrdNeaFPi68Fp9tBsJT4V+42GJuaBvZJKePPFIrfQfwiSRQX+FZf8T7eIdO/bg2V 6a8yar1c7XOK6cHq4axuk7lomNWQGi/jJwIXw+9ZNKiCQx9JvS0ime3d+zVtRWNf3MNA nl8Q+HFauiJaXb98z9eDTVNEz6lpd4S7m2Z/Q8wjQHLC8lKXGzQyfFSmUhYOffNrHq+c kUhLb0g88bKlXVrfC/QnE4Swa1N3oLFwrn7w+CBw37yS7y0mqi/knOZRO2cz7GlE0On4 62QrKr5YwNsSM87JEn+b2WBgz0auKRk09Macwcl6H+k1FBfXx7p9aklgeJtQzhDw8v9j n7Qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ItYDNrds; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v89si2937204pjb.14.2019.05.30.04.58.43; Thu, 30 May 2019 04:58:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ItYDNrds; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726997AbfE3L5e (ORCPT + 99 others); Thu, 30 May 2019 07:57:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:38058 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726792AbfE3L5d (ORCPT ); Thu, 30 May 2019 07:57:33 -0400 Received: from localhost (ip67-88-213-2.z213-88-67.customer.algx.net [67.88.213.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E614B253BD; Thu, 30 May 2019 11:57:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1559217453; bh=6nakkgFOlBb6tykWloF+3IRNTh2N9WxQ6FnBheDM6co=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ItYDNrdsSW5lbjYeWlWir785To5jJK03JenekGpraZ5kt/FrcA9o3UxrSK+8+psBf YKZ4+pHPnRUKVa5EQAcMpP0iHTJ64G+KktH579NY/cyFKCst3C8ZqQ3uhWKtldsf1Q tqJt0PwPwl3o/WRaSKuSDZeEg97vjIu8LcyekWCk= Date: Thu, 30 May 2019 04:57:32 -0700 From: Greg KH To: Hanna Hawa Cc: robh+dt@kernel.org, mark.rutland@arm.com, bp@alien8.de, mchehab@kernel.org, james.morse@arm.com, davem@davemloft.net, nicolas.ferre@microchip.com, paulmck@linux.ibm.com, dwmw@amazon.co.uk, benh@amazon.com, ronenk@amazon.com, talel@amazon.com, jonnyc@amazon.com, hanochu@amazon.com, linux-edac@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] edac: add support for Amazon's Annapurna Labs EDAC Message-ID: <20190530115732.GB14088@kroah.com> References: <1559211329-13098-1-git-send-email-hhhawa@amazon.com> <1559211329-13098-3-git-send-email-hhhawa@amazon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1559211329-13098-3-git-send-email-hhhawa@amazon.com> User-Agent: Mutt/1.12.0 (2019-05-25) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 30, 2019 at 01:15:29PM +0300, Hanna Hawa wrote: > +static void al_a57_edac_cpumerrsr(void *arg) > +{ > + struct edac_device_ctl_info *edac_dev = > + (struct edac_device_ctl_info *)arg; No need for casting anything here, just assign it. Doesn't checkpatch catch this type of thing these days? You did run it, right? Please fix that up everywhere you do this in the driver. thanks, greg k-h