Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4563510yba; Wed, 17 Apr 2019 14:19:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqzdzAU4IDrJGdVumkGMgy3o4scMErduTq4O1EM7lAwmUbpo6Ml4rQ+kKdVb0bz2ktagx2qb X-Received: by 2002:a63:1203:: with SMTP id h3mr86374698pgl.164.1555535985338; Wed, 17 Apr 2019 14:19:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555535985; cv=none; d=google.com; s=arc-20160816; b=HQyrkhH1U51he/NWtYuYVk+DPA8RMBettuF11z6qDWxw214JI7PTzSVq+cFfwVKBtJ D2sDlmXXiaKS526hVJ2zxyFuil82hj2YY1aVml9c+mTa4bk76W6CkDbwyt4CReFWJq0j BJg2hY++rbM5XcokMt7Uv7WlSPLkO5A1EPDgsISCvuQWzwf3qUPoq5xFidKKiv+zV28j tUiWX1TUZ8TCfU53zVeFsMLVyjZJNydz8T8JsfMCtw31nj2nlko2xbAvHXGX4Q4UdOA4 dHXBNWbUuNIIL+YNwUcaT/KXRkdPxLQ59qR99sbKvnaV1w8oEaYy3xS3o3sYhoj4NFeA NX8A== 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; bh=ZMT23M5rJiPlqGF6v5nt9U4yCPPBDmKu0MXqwRby2jo=; b=CXxe8tJytzYzTrDfnQwaUOAuD8V2eYg2+5rHwvENRtYjm9vLr64gBYRsZlSyR5Sg2h /0cVRu8JDFCsIG46gNxHs7C820CA0P/67kh57nd0DfmxWvDKKC1rZ5Was0cNrtrR18y1 rXl83sjdV2GR4UHbwZ9dteNRQPIXI9V2SpIOTDTW0kcwOWeMypJmGddOYl43+VHye1Sl nEcRLyiHe93/GiXKfZA9QWoAaeYjc+sLdbIuY/AvVbDx9QY2divnILpcqpO6Fl5gNJ0d hTfVXx0ASgBcbI2cDhlJAt0b79nIWT6uaIM/rewep2GbPYSHUEusHssjkYkaiSnXwiEH VXfA== ARC-Authentication-Results: i=1; mx.google.com; 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 s9si51907313pgr.443.2019.04.17.14.19.29; Wed, 17 Apr 2019 14:19:45 -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; 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 S1733108AbfDQVSf (ORCPT + 99 others); Wed, 17 Apr 2019 17:18:35 -0400 Received: from sauhun.de ([88.99.104.3]:34540 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726162AbfDQVSf (ORCPT ); Wed, 17 Apr 2019 17:18:35 -0400 Received: from localhost (p5486CD54.dip0.t-ipconnect.de [84.134.205.84]) by pokefinder.org (Postfix) with ESMTPSA id 570E92C088A; Wed, 17 Apr 2019 23:18:32 +0200 (CEST) Date: Wed, 17 Apr 2019 23:18:32 +0200 From: Wolfram Sang To: Guenter Roeck Cc: Jerry Hoemann , Wolfram Sang , linux-watchdog@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Wim Van Sebroeck , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 06/16] watchdog: hpwdt: drop warning after calling watchdog_init_timeout Message-ID: <20190417211831.GA16788@kunai> References: <20190416102515.12269-1-wsa+renesas@sang-engineering.com> <20190416102515.12269-7-wsa+renesas@sang-engineering.com> <20190416203431.GA20072@anatevka> <20190416204814.GA26442@roeck-us.net> <20190416205533.GB8268@kunai> <20190416212046.GC26442@roeck-us.net> <20190416221702.GC8268@kunai> <20190416223813.GA744@roeck-us.net> <20190417194528.xwivkyubhxyfrx4m@ninjato> <20190417201758.GB6223@roeck-us.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="oyUTqETQ0mS9luUI" Content-Disposition: inline In-Reply-To: <20190417201758.GB6223@roeck-us.net> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --oyUTqETQ0mS9luUI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > > I have the following diff applied on top of patch 2. Works with and > > without a parent device. I am not super happy casting 'identity' but > > since its u8-type is exported to userspace, I think we can't avoid it. > > Guenter, is this cast safe? Here is the diff: > >=20 > I would think it is safe, but question is if it is it needed - ie do you = see > a warning if it isn't there ? Presumably yes; if so, let's just do it. Yes, the compiler rightfully complains otherwise. Do you prefer resending only patch 2 or the whole series? --oyUTqETQ0mS9luUI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAly3mCMACgkQFA3kzBSg KbZ55A//a8dPznCMpbiAiMSpm25GuqnN5IonhgKfWizBJ5LDBAOzPO6WRwMxbeN4 JyNVKNI6+0VcR2FXcrzj93uz6Ref8Tk+zgar811cALZHi0mcUj3RMjVbmj2CB9d0 715VE2jJidTkoaRLPpNLSJNczG9hOZ5JRLeFLiW161+ZQc9uD8sgx/Dg/P5XJj2t Y5vK28wkBsZnKyMIYfxM7/nX0tht3E3ujCu1me1iW9iEygQkNRI2zwFmeX/ZR2HH cvuP0usvuXWsT3HC7HkRCM8zzLbWSqjoRM5v61NZXcp4HvNKdjvK5TvHybG1X+JJ eBYd1tOX2OKvMasRvnmvzl8K5TwMlYVuM8ust6Toun1sJzMue4IdKORBGl7vp+i3 ALHgVJlFCRG1mLNTqNeK8M6khsDHQjCbQTMwVFweXUEYZrWn8SqilpM88e9fyyvW 1QdQBRsdRghZ9UqHPQAQcKMfbEebEjc3kUKRPUxzH0ZwHAw7powyqbu+c1DpSVyo lPxq1eVrn9lOcpxtgO1JNvRi3ary7igMomUaVM941PpkhRWkm/bX9m2kuOdqP8wd wtW2ra7nzj4TapZaLBt1ysHnXtOhc7imiC81ReVE/yU9294o4MnYV2HDHB7N1HYv ufvYQblWmTXR3Ta9sq6BOOP8VropQQDy0tG61oetwdT97magc60= =G6Gx -----END PGP SIGNATURE----- --oyUTqETQ0mS9luUI--