Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1617689pxa; Thu, 20 Aug 2020 16:20:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzSLSxg6fVTalDHVXClEzmUkDkf8TNgwSs5d/il+7iYsiEBVi1RDyT+EaAKA5hZWudToE1M X-Received: by 2002:a05:6402:847:: with SMTP id b7mr237329edz.39.1597965648076; Thu, 20 Aug 2020 16:20:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597965648; cv=none; d=google.com; s=arc-20160816; b=YMb8jmF7Vpwds30WpR25OwxjLVnA8QPUlKR6QCEU3/tyQOP4IuhXgbgeiecdKGP/SV 2cXcA1yU8HRLoH5D6uuF5ELeP9M9wEgw5OcIhhsU29/0X0dsGeQWFHJNHPWaGDkFm5+V 9/Rp3AQrVnRHza/Bf2lK0pFHJ5s9y1gaNAQxwH6r6AsHsnzJRC7bJ2b4tBKhuuOceybY UrEERtOX6Tp0gzWUhIxSrBI8z5OvPavXKXVXvFw2ULZJpUvA18+WbtOe6Lo9/24ksZgR /uDnjwdkFdjv15kDVh/zKoK/tiV2tOWAs7rwtJfpCo6qLKhXmzt24GSeixoGQWHxwc/C e25A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=cAwXF6AEUqPjKXQhgeIM+pyqzzo/eYqmGvCAJeU2w0g=; b=r8XLs5YhPnyEIJfYJlhkI0H+C0C4VyuE+P/phFqTmlMMG7bS+9s00U4rvkAcY4d/oL oh1t662bkViFG5DQi4m4sMmQHhUnra7f0+VG/djLzgTCR7kwQE7QV63FeVP+gHuVSTXO DFrIGK2skm0uag+c/iNW45K+fj4kBTWu0b6mj3guG6jaXQrD56Gh4WYFToRea+MI2nR4 whVxl+zp9rcrDc3hQvO7bpwMdungGmWNupyY7kzk+iq3B9p7tXhoZbhyqX2GDX0QWMvj /o26ZclxtlV4B8ep8sOTjprUpe2D9DqZoSwCkNbpYDFoMJslvH8+rmOn7OkoHl3gB/Kl KK5w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b24si2221592eje.471.2020.08.20.16.20.24; Thu, 20 Aug 2020 16:20:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728762AbgHTXSy (ORCPT + 99 others); Thu, 20 Aug 2020 19:18:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728498AbgHTXSv (ORCPT ); Thu, 20 Aug 2020 19:18:51 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C622C061385; Thu, 20 Aug 2020 16:18:51 -0700 (PDT) Received: from localhost (c-76-104-128-192.hsd1.wa.comcast.net [76.104.128.192]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id E469612875E6C; Thu, 20 Aug 2020 16:02:04 -0700 (PDT) Date: Thu, 20 Aug 2020 16:18:50 -0700 (PDT) Message-Id: <20200820.161850.2292928081062561043.davem@davemloft.net> To: alex.dewar90@gmail.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] nfc: st21nfca: Remove unnecessary cast From: David Miller In-Reply-To: <20200820183840.912558-1-alex.dewar90@gmail.com> References: <20200820183840.912558-1-alex.dewar90@gmail.com> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 20 Aug 2020 16:02:05 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alex Dewar Date: Thu, 20 Aug 2020 19:38:36 +0100 > In st21nfca_connectivity_event_received(), the return value of > devm_kzalloc() is unnecessarily cast from void*. Remove cast. > > Issue identified with Coccinelle. > > Signed-off-by: Alex Dewar Applied.