From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 97F1A1F952 for ; Tue, 1 Aug 2023 12:26:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 98E09C433C8; Tue, 1 Aug 2023 12:26:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690892778; bh=z/nyCG9+MiNrNRu+oLH9pPDpearklCL8X59wA3OOsig=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DvLJYuFJyi9SsFp6dSCCzCzzm8WudEuZYex8cFrrT+MrsngbA/QSrMpZbr1D695v/ r5dapol6Bij4T7cZB4M1ALVbhlPAFGyiuNpfLyW/qwO7Tq03g518FWHBCpdtMKZFnK X7XLjJ/6yFBdud6bBh2k/Q2d4k28SXK8wEUHyqc4B+h6WPLu1xgkXysxKi+cVPVrIa w1KIlmTnZ3oFYHjEVj/fmwAmR5sf7VU8g7/l/61TYJmBPJMFMzI3Xx6dG96WgYdUaH qqCVP3u6BSvGj7+4qYXGvPT7dz6XCCJ/3Erdf8uI0/JW0tUQVuqcOdcXFmSbMIz96P iT0qvGAT2dS5g== Date: Tue, 1 Aug 2023 14:26:13 +0200 From: Simon Horman To: "Jiri Slaby (SUSE)" Cc: gregkh@linuxfoundation.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Max Staudt , Wolfgang Grandegger , Marc Kleine-Budde , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Krzysztof Kozlowski , linux-can@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH 2/2] net: nfc: remove casts from tty->disc_data Message-ID: References: <20230801062237.2687-1-jirislaby@kernel.org> <20230801062237.2687-3-jirislaby@kernel.org> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230801062237.2687-3-jirislaby@kernel.org> On Tue, Aug 01, 2023 at 08:22:37AM +0200, Jiri Slaby (SUSE) wrote: > tty->disc_data is 'void *', so there is no need to cast from that. > Therefore remove the casts and assign the pointer directly. > > Signed-off-by: Jiri Slaby (SUSE) Reviewed-by: Simon Horman