Received: by 2002:ac8:156:0:b0:3e0:cd10:60c8 with SMTP id f22csp1683724qtg; Tue, 21 Mar 2023 20:53:11 -0700 (PDT) X-Google-Smtp-Source: AK7set8/uA3wA0Uaiwudh6BfGlchtCD8yqZWtJl7y+BYF3LEKYN2yIGmdQNfgA8zu/MymhGYSpTH X-Received: by 2002:aa7:cac8:0:b0:4ac:bd84:43d9 with SMTP id l8-20020aa7cac8000000b004acbd8443d9mr5418620edt.2.1679457191122; Tue, 21 Mar 2023 20:53:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679457191; cv=none; d=google.com; s=arc-20160816; b=abz0v0moyDBbIcEtvEuXAaf8B2QXQWgjXl+PsHE4B5JMUEX4yKknDKA8beJr9wMLYa PR4NrT1MOaDsaTDmgPzbC+Jt+f8QCZcmM5rWW1fC5rOU9zzeKCSEIN0z+bcW4d+W7v8p 5vY+AjjRUY55wspukkFY/H2qse8jL/JymoLjTOzD9i/+HS2VKVVR0+HJHt2Mcz5ZQfFE qSXaIqcTLrsZ4GIAQk8HalWGQ8tRgPp8EuZuFtOPpcwBvZoWdKydLOU19s6LdVBCYdM8 T/cSiG4Ki65k9JnjyTAKGiSODR3a4MQBMyYlqtFZbtpfA4oCaeeXrLBW/9Z/wbfKTD9S 9vew== 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 Return-Path: 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.52.47; Tue, 21 Mar 2023 20:53:11 -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 S230146AbjCVDk2 (ORCPT + 99 others); Tue, 21 Mar 2023 23:40:28 -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 ); 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 ; 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 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: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.25.1