Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp724970ybi; Thu, 30 May 2019 05:53:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqxrsSahiLRVU7FceIgYrUKasWu5TzpiAhKK6+3rX7IyCismsViQ1XbQhiaoRCi20RhyNp+6 X-Received: by 2002:a63:d04b:: with SMTP id s11mr3547055pgi.187.1559220816435; Thu, 30 May 2019 05:53:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559220816; cv=none; d=google.com; s=arc-20160816; b=GQk62c/CB3B6N3/qx/IjT4ECRS8iwq/Mv0ZwF+B26bV3QNdS+pM5c0L9cNb6zaRROo xhexrtrjpyJNfPvzhKwi9UB0Tedlykw7KlVUmQLDW2Nk39SiGH697Ptvh/tCXRwFzC1i yNtSXzlUyggFXx+aGl1ONX2TykLegRASjgtvAPdFVkY4SNboFODYfjtqq4E3kMENksBU txGbamv3IvkaiC5hSSOJx2ZMLs8zhrTw1fghnEtVDP0r0pMpPm95E9s+BQPUk3VXX0sV eTyM5Jpz41nVQvbxXWiRjt77+t4vjMW+HwVVeZXda2RHL1kJy6QShCK7UjhnsfzFshmv X0dA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=O4eMaMbEMmqb10KzGuvzyUaJ2EVJ+M/kW9KVSV6qXKU=; b=TQZzoXIyBCqBky0XK4yRBAu5Ecy6+7A76V8Jz3qVi8HAehzcE8+Y20TbO1ZFjnAaah RVNdMzytZYV1CCbc3y+YxTxNtIx3MhDRUN1t0NYvEcZZQwkoIDrqrMGdI0I2G3Sns5Aq Pp4Uc0djNSX3S+heSRKpFjvmk40Nikf/5eWAX0kFZh0FmUy45u0KgU8omavcIsAQRV7D CjoM29KkfN6ZEBf6/2m/aqkxR6yJZ6J5LkMm1E1q+PY2KrTl93FwkoKL//67n9zVBSZl hCm6t/BdctMvQpnfM9Vgk7HHfXRE5YoXwKHonwiCyFZMpNIxgXJMIBulUHG7ikLbF7mQ xKTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=ArXgolZZ; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w12si3109692pgr.55.2019.05.30.05.53.20; Thu, 30 May 2019 05:53:36 -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=@amazon.com header.s=amazon201209 header.b=ArXgolZZ; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726430AbfE3MwS (ORCPT + 99 others); Thu, 30 May 2019 08:52:18 -0400 Received: from smtp-fw-9102.amazon.com ([207.171.184.29]:50270 "EHLO smtp-fw-9102.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725919AbfE3MwS (ORCPT ); Thu, 30 May 2019 08:52:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1559220737; x=1590756737; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=O4eMaMbEMmqb10KzGuvzyUaJ2EVJ+M/kW9KVSV6qXKU=; b=ArXgolZZFHDwKJ+koSulk8zmrsZMqcQi6IsZ9EY2JVEl5hMPCr67tb1x wLWwnf81nNdl5MVt7ZO6gur7CgKoL3I5L9lvnuwyCHnkBTeossGezYgSz 4pgQ3NRpdlZgZtzO+Dg9NGOubmqMKbwGo8AL8ubGEq5WsqU+8AbeNkI+m M=; X-IronPort-AV: E=Sophos;i="5.60,531,1549929600"; d="scan'208";a="677188830" Received: from sea3-co-svc-lb6-vlan3.sea.amazon.com (HELO email-inbound-relay-1e-a70de69e.us-east-1.amazon.com) ([10.47.22.38]) by smtp-border-fw-out-9102.sea19.amazon.com with ESMTP; 30 May 2019 12:52:11 +0000 Received: from EX13MTAUEB001.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan2.iad.amazon.com [10.40.159.162]) by email-inbound-relay-1e-a70de69e.us-east-1.amazon.com (Postfix) with ESMTPS id 18792A221B; Thu, 30 May 2019 12:52:07 +0000 (UTC) Received: from EX13D08UEB003.ant.amazon.com (10.43.60.11) by EX13MTAUEB001.ant.amazon.com (10.43.60.129) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 30 May 2019 12:52:05 +0000 Received: from EX13MTAUEB001.ant.amazon.com (10.43.60.96) by EX13D08UEB003.ant.amazon.com (10.43.60.11) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 30 May 2019 12:52:04 +0000 Received: from ub6d44c9ce3e25c.ant.amazon.com (10.125.236.61) by mail-relay.amazon.com (10.43.60.129) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Thu, 30 May 2019 12:52:01 +0000 Subject: Re: [PATCH 2/2] edac: add support for Amazon's Annapurna Labs EDAC To: Greg KH CC: , , , , , , , , , , , , , , , , References: <1559211329-13098-1-git-send-email-hhhawa@amazon.com> <1559211329-13098-3-git-send-email-hhhawa@amazon.com> <20190530115732.GB14088@kroah.com> From: Message-ID: <0ebfe8d7-3e0c-e0be-abd5-5e10b7d4b6aa@amazon.com> Date: Thu, 30 May 2019 15:52:00 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190530115732.GB14088@kroah.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/30/19 2:57 PM, Greg KH wrote: > 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? I did, but checkpatch didn't catch this. I'll fix in next patch-set. Thanks for your review. Hanna > > Please fix that up everywhere you do this in the driver. > > > thanks, > > greg k-h