Message ID | 20230322035524.1509029-1-yung-chuan.liao@linux.intel.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp2145266wrt; Tue, 21 Mar 2023 20:52:21 -0700 (PDT) X-Google-Smtp-Source: AK7set9XW4KARIdTaUK/R+HQbee3MprERQ+UQdCFcesW95+7RyJhUCGD455jjI03NzDM52zxylzE X-Received: by 2002:aa7:c448:0:b0:4fc:8642:ce56 with SMTP id n8-20020aa7c448000000b004fc8642ce56mr5890172edr.25.1679457141733; Tue, 21 Mar 2023 20:52:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679457141; cv=none; d=google.com; s=arc-20160816; b=YrjReVdDUeWfnpheVddzJzN/2WIUXWvM9RN40eH4D1GeA2aNE7LjbIKG95wCb1gxtz AQE5yy8nJuCnI9sn4a+ACKwArnhKgDcXc9lAtB1MVDmnUxU921AIv2zgo3S125inlvYZ MwJ0qePNemHIDQnfCWYMTt76aj2pKwnAL9C1WkgH2zUTY1oT0fskXtC29Y6Mw+POT1vb OzDgbbtSl57lr7/rRcDEqTUHd5XUtYVnGGTVrKn5JnqUAVCcdAsB3BnACuEfylp0MNbC 4agzbtLMPphqgB/lH9O4BGn2hDikk5fh1sIBbAHWHuDnuWFbu7MCK4lIIJu+WVMltdha +Olw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=h3ku3CKAH4g8gsHJd9xCQPqAWuGCaRCdSJRmgfj4z5U=; b=hc1GmVHCduGDGYYIJGTWhKn3cZs90GdeuDgp8/yUvZr62y0jDZrhktYvB3BtVLArRv i6cFzInIgsYjrpVchOrCl/iUgC3iIg7M4Jc7Nl1vCX2GPmcpK11uDYIgM0bzhG8JSJOV XXQb/aI7+wpZ8JI9cXWmpYCiskqkfc4mus9OO1/5tg6C7055XX+pvgjXLKTSUUdPiu1L xdFdXWZU+7ebLu/QNEzLEKaOoWHk9LJmNhGprVEHUE5GTXnLDCpmZUTrPmLRoFkV+XZl yxBMvl8rzHPVOPPC1XUs7Nymh2L8tEXXfTrKffiS/pSN4qgbq9GVq24+Lq8VBMcEVwAA LUmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=altiJhi0; 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=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n2-20020aa7d042000000b004fe947a0710si16414993edo.57.2023.03.21.20.51.58; Tue, 21 Mar 2023 20:52:21 -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=@intel.com header.s=Intel header.b=altiJhi0; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229832AbjCVDk3 (ORCPT <rfc822;ezelljr.billy@gmail.com> + 99 others); Tue, 21 Mar 2023 23:40:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52652 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229550AbjCVDk0 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 21 Mar 2023 23:40:26 -0400 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E23705A6D5 for <linux-kernel@vger.kernel.org>; Tue, 21 Mar 2023 20:40:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1679456425; x=1710992425; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Zs02unq0wlk5HvP52gaN6xg18FqyIGEgUnbPMjMReUc=; b=altiJhi0DLmNZrttPm78sAK/cWOk8wgm/zBbCBMXEeO3tCdN/2txHzHl o4KgMbqrIS3GjyheiH3XQbnlgRNANXL2Et0u56JyaDrlS5acWpjAZXa78 oLccNGdaJ3m33KbsYkzYfVVcoWUYEkM3ti1SmRGAsGhdZhW/EYrtZiSne NMaYgu4yQd46vg9KUY8Qd5Gk/uNA7hlNpWa+WNTlmxjlq/RAJKLOnO3DS BWf+VWczhyrlSsyXHKFadtV2H3Py/yeNoWyn02TJowTN2sfBw8YSF6I9x 516lOxvXGSPkBZReUX45lwgZ/YVG1r8BEtqhBDEJiVHH4Xx5H6ivoJQsW g==; X-IronPort-AV: E=McAfee;i="6600,9927,10656"; a="404002928" X-IronPort-AV: E=Sophos;i="5.98,280,1673942400"; d="scan'208";a="404002928" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Mar 2023 20:40:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10656"; a="792377943" X-IronPort-AV: E=Sophos;i="5.98,280,1673942400"; d="scan'208";a="792377943" Received: from bard-ubuntu.sh.intel.com ([10.239.185.57]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Mar 2023 20:40:23 -0700 From: Bard Liao <yung-chuan.liao@linux.intel.com> To: alsa-devel@alsa-project.org, vkoul@kernel.org Cc: vinod.koul@linaro.org, linux-kernel@vger.kernel.org, pierre-louis.bossart@linux.intel.com, bard.liao@intel.com Subject: [PATCH v2 0/2] soundwire: stream: uniquify dev_err() logs Date: Wed, 22 Mar 2023 11:55:22 +0800 Message-Id: <20230322035524.1509029-1-yung-chuan.liao@linux.intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_NONE,URIBL_BLOCKED autolearn=unavailable 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761038451671843175?= X-GMAIL-MSGID: =?utf-8?q?1761038451671843175?= |
Series |
soundwire: stream: uniquify dev_err() logs
|
|
Message
Bard Liao
March 22, 2023, 3:55 a.m. UTC
There are a couple of duplicate logs which makes harder than needed to follow the error flows. Add __func__ or make the log unique. This series also changed some uses of "dev_err(bus->dev," where the stream may depend on multiple managers/buses. v2: - Split the original patch into two patches Pierre-Louis Bossart (2): soundwire: stream: remove bus->dev from logs on multiple buses soundwire: stream: uniquify dev_err() logs drivers/soundwire/stream.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-)
Comments
On 22-03-23, 11:55, Bard Liao wrote: > There are a couple of duplicate logs which makes harder than needed to > follow the error flows. Add __func__ or make the log unique. > This series also changed some uses of "dev_err(bus->dev," where the stream > may depend on multiple managers/buses. Applied, thanks