Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp2580681imi; Mon, 25 Jul 2022 02:31:25 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vWCh3AQs0fEcwUYraolBcFM4in7o3ut49evev4yZTHSUgTZhwAjhSNHkRvAX1narWgEXt/ X-Received: by 2002:a05:6a00:16cb:b0:52b:cc59:9468 with SMTP id l11-20020a056a0016cb00b0052bcc599468mr11995600pfc.46.1658741485422; Mon, 25 Jul 2022 02:31:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658741485; cv=none; d=google.com; s=arc-20160816; b=kKyudhWc8TaP4WMrEBr0GoMAYvZRJnPLbO2vPiQEmVLdNjziazvQIPn/LdGMvTNC8f zkGm/67QvALsM+l+sxw/NiB6TgwOHL1GNjY0MdZESGVOJe9dSG6RZsCGCqn5KwLfqv6J XZYVE3PCXnup9kbtzec+gLiSLF1jD4vNp5rwvRJj0UJreyCNduEHVb9UBl8wOdHvemer SHjQLjqgplZ0By2MhiOYs9A7WZDrZgBti1sYeI4dg3tgRGRR8qVrgflIABpGjT7GoLNs W2Zu+ImIjyvYZrs7lBzCYlpipxhjBooW4MtiH/1+dAIJre9HUr2Boft133XPoiz/IR9S o3Rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=m458MuuZeHlIo0Lga35uqrOmeIvzmlEaQs7AfDrpSws=; b=I+oGR/zQo05s6yNAhZUl19OUcim68J/z0Mh4uZ7XJMykTDOTysA1toXLUAsSsBoULc kyxPB2qFJUDdypgs3ZHgAkn3CLBtW3QuBNN9mUqXcxHwKiAVzuV8xG8maAd+Ughnj+jG uTqFh0vudf1DDHfFaRZbOhUxCQQ6wTi4LbtqWDekdLwX8eEQVx0p48ZW4WOv3zqvXSeb 3ta6LTEilX+RP0zQq/WvZGWNkmBj4z7x3rq5QsluyJpZyfESKpIafTLgFp1zOFqJqXNQ CyMi4xH6CFNDdRllVUjtyk1VLZSt60F0UinTXwyc777XGGE5FLWUX8GEi/dwZEyoa4o9 xcrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="y/4+yLSY"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hk2-20020a17090b224200b001f29384bd77si5319995pjb.69.2022.07.25.02.31.10; Mon, 25 Jul 2022 02:31:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="y/4+yLSY"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234212AbiGYIv4 (ORCPT + 99 others); Mon, 25 Jul 2022 04:51:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234196AbiGYIvw (ORCPT ); Mon, 25 Jul 2022 04:51:52 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E06F140C0; Mon, 25 Jul 2022 01:51:50 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id AE32361214; Mon, 25 Jul 2022 08:51:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BDBC7C341CF; Mon, 25 Jul 2022 08:51:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1658739108; bh=PmutZiEng6MMXh9O1CX9eVOw0OqozW+N1qFKVKcmT2c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=y/4+yLSYUP+6YC7fwPcXNVSD91v96gKZaF7dCwly9h8Yurotuv+7vY7RO/+k72jf0 dHasYr2It6g7uB+xcqEYO0xJT/xq/D4vQMgZZFn3KGgZrVIEAk3oCh3qx5K9ahdp1o Zq+qeQR33fe3iz0O6FeuQurRd99Cqqpj+yZVCBhQ= Date: Mon, 25 Jul 2022 10:51:43 +0200 From: Greg KH To: Alexey Klimov Cc: linux-watchdog@vger.kernel.org, wim@linux-watchdog.org, linux@roeck-us.net, oneukum@suse.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, atishp@rivosinc.com, atishp@atishpatra.org, yury.norov@gmail.com, aklimov@redhat.com, atomlin@redhat.com Subject: Re: [PATCH v5] watchdog: add driver for StreamLabs USB watchdog device Message-ID: References: <20220725030605.1808710-1-klimov.linux@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220725030605.1808710-1-klimov.linux@gmail.com> X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 25, 2022 at 04:06:05AM +0100, Alexey Klimov wrote: > +static bool nowayout = WATCHDOG_NOWAYOUT; > +module_param(nowayout, bool, 0); > +MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started (default=" > + __MODULE_STRING(WATCHDOG_NOWAYOUT) ")"); > + Meta-comment about watchdog drivers, this is per-driver, not per-device, which does not make sense for when these devices are on removable busses where you can have multiple ones. I don't suggest changing this (as it follows the current style of other watchdog drivers), but perhaps a sysfs attribute for watchdog devices can do the same thing in the future so you can do this on a per-device basis. Anyway, driver looks good to me, nice work! Reviewed-by: Greg Kroah-Hartman