From patchwork Sun May 7 13:00:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: jack1989s@gmail.com X-Patchwork-Id: 13234191 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B897FC77B75 for ; Mon, 8 May 2023 07:51:26 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 4E7BD12C5; Mon, 8 May 2023 09:50:34 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 4E7BD12C5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1683532284; bh=TRpYw2fpRa7fXhdrkLZoh1N8WJduEB3s6iHzOhUS0Y4=; h=From:To:Subject:Date:CC:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=o7jp1qRUJR5IXx5HXe6a0c2HY9E2yAbhtOTWzeuI5JYlaaI4VpVGfsULJ9RFOA31f u6VLYqMoTL499hCLT/KW1oO4MaZyGs6M3tG8ivNqyMXijxGi26hybfVVcSOe05vEmZ 15I3p5RLOI/odPnGyqtmA2vkkahBjOCwoezyRL3M= Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id A3D77F805F1; Mon, 8 May 2023 09:46:26 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 33B63F8032D; Sun, 7 May 2023 15:00:30 +0200 (CEST) Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 67620F80087 for ; Sun, 7 May 2023 15:00:25 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 67620F80087 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20221208 header.b=UIzAEM0l Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-30786c6082dso751978f8f.2 for ; Sun, 07 May 2023 06:00:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683464423; x=1686056423; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=B2ZLNCEsJLERCJy0gGs5VDu5LaJyymMxQIgFZdzx4Oc=; b=UIzAEM0lhWcg0LvT+iLaZZ9z95LJtB1QA58RomVZDdNArnmYi/vFYjhsnuIl2l/47E dPnm7ILOBtB3VN1pdoWZ4rC7VcywvLAP5Y1BiGzEo+SMfsiJmw8tnVk7pV2yvKYFDmGo bkxDM8icz53z02W8KqRpeI4Ge1f42/8L0UNhEL6KqNleKQ8ImWi2AAx2LJv0L63kSCB0 xINqTuauYD7REnMO6SdhmJSJ8Uq+tsVRmmUzxijk/FnXpPYSQW2HtnYVfcJBYG5VRrcN nZ14K4PYvOttEHK3ZbDajenu+5s/MVsas/0Y2WACfDNZiOrAx4iiMafnpR4np5VhOOI9 iKgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683464423; x=1686056423; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=B2ZLNCEsJLERCJy0gGs5VDu5LaJyymMxQIgFZdzx4Oc=; b=DL/mrqW/zfM+cEGP4DIiYAdXCUrEN+GtnS4qxuwE72d3yqWHsUxbijsADtHQwJQLTf hek/Iqu9w77bA2iOGV16mIEBR6e71eJZw9PnZ/Jlh0CdRxCfe/fhBfBVikwlau6OdjUz rCxNJS1dS2OoR5/dS3u4VPa0etcOPvD2Alj0rlAAzN4xeSg67ZNNxcCrvBvWWk99rSou FrJUa9jV3HswPSrAtuesTZe7jOEtXHyN4T/YknVksuGGK9CjBCxqbCPc9O6QIYOPqhiv 5c8lO540KSkhlczsKi5hHw0/pDLGYj9UcRUpOTBm9sVKuukyuYg1SwZ/SSKwCPJALv8S XSbQ== X-Gm-Message-State: AC+VfDytOsFU4XF8KaMQoPLWG7hlkQaG4gaNmQ5mMVKiX8h9W/MwvR9P A3JvjK3iSsASVZgYOwmZOQc= X-Google-Smtp-Source: ACHHUZ7BQF8TmLtYLTVOhFy275Vi6INRdqa96cajN2Saxs9+TCMydxCmQl1KPVxKJSME5QtwGfso1w== X-Received: by 2002:a5d:4146:0:b0:2cf:e747:b0d4 with SMTP id c6-20020a5d4146000000b002cfe747b0d4mr4859241wrq.40.1683464423299; Sun, 07 May 2023 06:00:23 -0700 (PDT) Received: from jack.home ([92.58.200.160]) by smtp.gmail.com with ESMTPSA id c17-20020adffb11000000b003075428aad5sm7907969wrr.29.2023.05.07.06.00.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 May 2023 06:00:23 -0700 (PDT) From: jack1989s@gmail.com To: perex@perex.cz, tiwai@suse.com Subject: [PATCH] Sound:last.c: fix code syle trailing white space - modify printk()->netdev_dbg() - Possible unnecessary KERN_INFO removed Date: Sun, 7 May 2023 15:00:21 +0200 Message-Id: <20230507130021.48112-1-jack1989s@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-MailFrom: jack1989s@gmail.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1 Message-ID-Hash: QSKXT4UZRF3QQ72RJC4OITEEJJD6YORW X-Message-ID-Hash: QSKXT4UZRF3QQ72RJC4OITEEJJD6YORW X-Mailman-Approved-At: Mon, 08 May 2023 07:46:11 +0000 CC: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Federico Di Lembo X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Federico Di Lembo Fixing coding style. Signed-off-by: Federico Di Lembo --- sound/last.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/last.c b/sound/last.c index f0bb98780e70..b8cfd6ded95d 100644 --- a/sound/last.c +++ b/sound/last.c @@ -11,18 +11,18 @@ static int __init alsa_sound_last_init(void) { struct snd_card *card; int idx, ok = 0; - - printk(KERN_INFO "ALSA device list:\n"); + + netdev_dbg("ALSA device list:\n"); for (idx = 0; idx < SNDRV_CARDS; idx++) { card = snd_card_ref(idx); if (card) { - printk(KERN_INFO " #%i: %s\n", idx, card->longname); + netdev_dbg(" #%i: %s\n", idx, card->longname); snd_card_unref(card); ok++; } } if (ok == 0) - printk(KERN_INFO " No soundcards found.\n"); + netdev_dbg(" No soundcards found.\n"); return 0; }