Received: by 10.192.165.148 with SMTP id m20csp789758imm; Wed, 25 Apr 2018 07:43:46 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrYUmvW3Vrru/AZcJlFwsdo6vguzzifH6Oj/e34leVygRCYTpGRrBYTx2cYYVDgy0kZqepo X-Received: by 2002:a17:902:7402:: with SMTP id g2-v6mr5487399pll.246.1524667426155; Wed, 25 Apr 2018 07:43:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524667426; cv=none; d=google.com; s=arc-20160816; b=uu9wyJJRc2LPeOygr1tZWrBWYkOX2edwkP+6z5CjUlzOLIZAJEj8sSVD0O+D8nF5tq LF3XMS7kZZzezX7zzL2u66wa5W1DUwVo3WkskLJfVPIaZ9r7AFOMhm2BzO4ruGR3nQSq h1D5JHn0ZbkDysm+j89QZiCJWMHEcbEekGk3s2p0X9aP5jLYETIseWkmKPUuM1RvU72V Y0tHeVkz0476KP7eFR+WYgtMgky5wVqqns+1phgm18ug47tbBL0BOTYzB5wKY3LZV0ez ykUD7pecFRnb86FDmTzcFOsgMz7nEdx6BvQbGjZ0Z27GxHP/vcebrw8OCAofPMHGF0+o wkVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:cc:to:subject :arc-authentication-results; bh=YDPwlmBZt30GIoSEupU9QUipyhO3rxSs/eZgenIa01w=; b=HmK55hnDyTsFWqGzu3Luc3hq+x1bHwOoN5j7ir4kwjIU5tLVPBUq2PM7KNw5ZFw6Gn tnJUM4RSkqzDCQhyRWaQR0U0l6X03XeDDjwzpSOrZyhMY4Mwhz84qF7q43kQFK19btCL 0+GXJZaZkwDhaXbo+Gx5huIjxV06W/SvBYsPURH/ms7kg78JXrTFzso8xcQfgRoTzfE6 XxMWhU1xDOuSv7gp/bBjf/MClPhasfiS+2NBB7J+GDbp9J0Em+WARYznqaEj99LUfe8p QRpnc1vH0kX2zPBiitWWOmcvuU3CCknz+9XDxeY6eTZ0fwCXw+uB8GIy+EHMO9pVVrJa ylWw== 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 k2-v6si16496916plt.406.2018.04.25.07.43.31; Wed, 25 Apr 2018 07:43:46 -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 S1754645AbeDYOm2 (ORCPT + 99 others); Wed, 25 Apr 2018 10:42:28 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:53821 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753825AbeDYOmZ (ORCPT ); Wed, 25 Apr 2018 10:42:25 -0400 Received: from gallifrey.ext.pengutronix.de ([2001:67c:670:201:5054:ff:fe8d:eefb] helo=bjornoya.blackshift.org) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fBLck-00074h-Dg; Wed, 25 Apr 2018 16:42:22 +0200 Received: from [IPv6:2001:470:7eea:1122:e87f:77a6:b683:7657] (unknown [IPv6:2001:470:7eea:1122:e87f:77a6:b683:7657]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (Client CN "mkl@blackshift.org", Issuer "StartCom Class 1 Primary Intermediate Client CA" (not verified)) (Authenticated sender: mkl@blackshift.org) by smtp.blackshift.org (Postfix) with ESMTPSA id 7C03C30A45D; Wed, 25 Apr 2018 14:42:21 +0000 (UTC) Subject: Re: [PATCH] can: dev: increase bus-off message severity To: Jakob Unterwurzacher Cc: linux-can@vger.kernel.org, linux-kernel@vger.kernel.org References: <20180418141003.10229-1-jakob.unterwurzacher@theobroma-systems.com> From: Marc Kleine-Budde Openpgp: preference=signencrypt Autocrypt: addr=mkl@pengutronix.de; keydata= xsFNBFFVq30BEACtnSvtXHoeHJxG6nRULcvlkW6RuNwHKmrqoksispp43X8+nwqIFYgb8UaX zu8T6kZP2wEIpM9RjEL3jdBjZNCsjSS6x1qzpc2+2ivjdiJsqeaagIgvy2JWy7vUa4/PyGfx QyUeXOxdj59DvLwAx8I6hOgeHx2X/ntKAMUxwawYfPZpP3gwTNKc27dJWSomOLgp+gbmOmgc 6U5KwhAxPTEb3CsT5RicsC+uQQFumdl5I6XS+pbeXZndXwnj5t84M+HEj7RN6bUfV2WZO/AB Xt5+qFkC/AVUcj/dcHvZwQJlGeZxoi4veCoOT2MYqfR0ax1MmN+LVRvKm29oSyD4Ts/97cbs XsZDRxnEG3z/7Winiv0ZanclA7v7CQwrzsbpCv+oj+zokGuKasofzKdpywkjAfSE1zTyF+8K nxBAmzwEqeQ3iKqBc3AcCseqSPX53mPqmwvNVS2GqBpnOfY7Mxr1AEmxdEcRYbhG6Xdn+ACq Dq0Db3A++3PhMSaOu125uIAIwMXRJIzCXYSqXo8NIeo9tobk0C/9w3fUfMTrBDtSviLHqlp8 eQEP8+TDSmRP/CwmFHv36jd+XGmBHzW5I7qw0OORRwNFYBeEuiOIgxAfjjbLGHh9SRwEqXAL kw+WVTwh0MN1k7I9/CDVlGvc3yIKS0sA+wudYiselXzgLuP5cQARAQABzSZNYXJjIEtsZWlu ZS1CdWRkZSA8bWtsQGJsYWNrc2hpZnQub3JnPsLBlwQTAQoAQQIbAwIeAQIXgAIZAQULCQgH AwUVCgkICwUWAgMBABYhBMFAC6CzmJ5vvH1bXCte4h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oYYfh8ssPVABEBAAHCwXwEGAEKACYWIQTBQAug s5ieb7x9W1wrXuIRxYrqVAUCWm5BPgIbDAUJAeXlcgAKCRArXuIRxYrqVL9ZD/oD+32+N0ij ZQ8p/RaRjPtSnAs6irNRGE1ZKcKpiM76eRFJrN7HvfFiDFmUpSh+8bDyM5kc/Z1AXhXlf0VB T24NZLBXXaFl/M4HKkJTc+PA3yYgb06ChfMWst5h8rfa7htqAhLUby2MTyfJ0xcAptCWTnW0 OCGjEL4ZKr8Ml/fjKYP7hp37iBXwwQF3lSSdjMsEjMT/9/9Ip2+uJ559F8pCmFV5wNgHRH+j nxIIiUILoQMDn42cygozxfh14GwCqUSPW+EqBb7YOWreWA3D3kbXtIwV7/ZXT7L0n/0OTx9p K9K/C2jleQxaep8bHmHqTEEqkrC0rNhocTcrnOYviEO0TkHvSqtNMaM3KnOL3Nsb6rgqDpj2 BVWkrIqMPi0aXfBu/ArZsAios/0QHB56Id3BshIbs1A2VNmFgrxkhKjwJ8A7geD5PXn0cur0 8byy64Kk7ii0iwbJZasPfVLPLmMEVjiSOgZv4hbKyecWVwtlMh3k4rkMuSVDDr+2E9KQXS2R Efe7jTF9WUzFhm0HYiYSiiQyHuZPLc6t/L9OqvrNVTdYaEkBsm/LVv6h6rqpklJLQhU/2KtL bImH8IQK6+7up2rtwyqeehbNdsiqyDA6Sso5eKCoxKKbAFM7PtEYMC2Kv6wAca5SqEOUtRHU /6jKeO1yNpD5UgI9bzazBn1mwg== Message-ID: <89a09851-827e-96b6-a0b0-e31b24755193@pengutronix.de> Date: Wed, 25 Apr 2018 16:42:18 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180418141003.10229-1-jakob.unterwurzacher@theobroma-systems.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ihHchI2HsXm4U12mWS36BGSsnsfxT93C8" X-SA-Exim-Connect-IP: 2001:67c:670:201:5054:ff:fe8d:eefb X-SA-Exim-Mail-From: mkl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --ihHchI2HsXm4U12mWS36BGSsnsfxT93C8 Content-Type: multipart/mixed; boundary="gjDoSdyAP2o5ioiezgnjdC9grYYuzOcFw"; protected-headers="v1" From: Marc Kleine-Budde To: Jakob Unterwurzacher Cc: linux-can@vger.kernel.org, linux-kernel@vger.kernel.org Message-ID: <89a09851-827e-96b6-a0b0-e31b24755193@pengutronix.de> Subject: Re: [PATCH] can: dev: increase bus-off message severity References: <20180418141003.10229-1-jakob.unterwurzacher@theobroma-systems.com> In-Reply-To: <20180418141003.10229-1-jakob.unterwurzacher@theobroma-systems.com> --gjDoSdyAP2o5ioiezgnjdC9grYYuzOcFw Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: quoted-printable On 04/18/2018 04:10 PM, Jakob Unterwurzacher wrote: > bus-off is usually caused by hardware malfunction or > configuration error (baud rate mismatch) and causes a > complete loss of communication. >=20 > Increase the "bus-off" message's severity from netdev_dbg > to netdev_info to make it visible to the user. >=20 > A can interface going into bus-off is similar in severity to > ethernet's "Link is Down" message, which is also printed > at info level. >=20 > It is debatable whether the the "restarted" message should > also be changed to netdev_info to make the interface state > changes comprehensible from the kernel log. > I have chosen to keep the "restarted" message at dbg for now > as the "bus-off" message should be enough for the user to > notice and investigate the problem. >=20 > Signed-off-by: Jakob Unterwurzacher > Cc: linux-can@vger.kernel.org > Cc: linux-kernel@vger.kernel.org Applied to can. Tnx, Marc --=20 Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de | --gjDoSdyAP2o5ioiezgnjdC9grYYuzOcFw-- --ihHchI2HsXm4U12mWS36BGSsnsfxT93C8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEENrCndlB/VnAEWuH5k9IU1zQoZfEFAlrgk8oACgkQk9IU1zQo ZfGGEwgAsE97/1rKOLPekZvPoP+0iGlIyLrh8vk7bmdHYgZrEtnFNVPr9cbCnqcA 0Mpjk2coP9K9lu9ojdbq5Y1MV+KsjIJccoZAEnFlA5+TdyM3XOKtqLUfmmX8Iggz rlnmFIsgdWVsNKBsXG2gbLTzRtoR2jv4uFP78+ViUnmmW/3zYkt0JDnZRztinsMh IimYuKcfnvXfDaHhXns/nNV+bkh8xgEUf3CEgfCv0OIBgmOAsWdAiJCpx5oAil2L jVNgpiOxaD80QUE3zD6TcC0KV+YWkd7jDSN7pDF41aiUjc3EKabgo0KtDNCuxYUA rD4/6GydrUAW5dKpk+0/gyEYcp9sXQ== =Sqvt -----END PGP SIGNATURE----- --ihHchI2HsXm4U12mWS36BGSsnsfxT93C8--