From patchwork Tue Aug 30 22:58:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 12960057 Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 15F6D6136 for ; Tue, 30 Aug 2022 22:58:35 +0000 (UTC) Received: by mail-pl1-f169.google.com with SMTP id p18so12498980plr.8 for ; Tue, 30 Aug 2022 15:58:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=k6LA1rNyhTjjcasNmZFLeY+W8E8y8NGMThT486iHSoY=; b=Ep24sHO070cnIFiiLG6kNJPWDqR2eSE+4qF+qy1Dpph5f6mj79zWGMf3QxdFk/MnWf S5NN4Jf7V/9x14Ed4VoZUnHArb2dtaW8KqL3LDsl17cTZoAmeNNJHhe90BGX5qkR34Gd UEfG8SF4TaeCxXk2M0BoSMAIfW2qddG9ZcM7Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=k6LA1rNyhTjjcasNmZFLeY+W8E8y8NGMThT486iHSoY=; b=5taN8SItORziTHvh4fr9QrTl5Jc8EtdDUEhtQKF094ytY6y/BxYu5KsuZqV/MPAD+X cu/EWmbGipX55Z4apPgqKOLRLVKoxF6jlW3RdFMxVKr0eLGaJrtDqO4PO3qZS5tO+AQt kha3vIgn5Ac8m2o+pwQs9SlKjMIwkGS5TJ4m5k+ywZg3srVexAVGx1tear6RxLw+gmCr khXXBsuk5/KnK8uvPdjrVFDrxvxYoj/6vTlagXaCI8lTra8KBwG851/U5MnANVaTG+FJ mY0tWd98jffSvyGpgAsP3Jq2Lyc4z5UbqeglwZr1lPbRWHVV1WhGE6qYGD/xGzrXLFjd U3jA== X-Gm-Message-State: ACgBeo1ubWqTrJR7OAi6S/xMyohhhFCb0LafXwrvcESUUV04cy8BqQWG JlIhefCCe1TqhZxK92znldbU1B3Z1RcJ1Q== X-Google-Smtp-Source: AA6agR6soIRzWhUs7dOLjwua1oVBUDAFDTUzVhZQra4bxTiH3oROVieLZEHDWGIr1KvJ5tedIvAXHw== X-Received: by 2002:a17:90a:f2cb:b0:1fd:90a0:56e3 with SMTP id gt11-20020a17090af2cb00b001fd90a056e3mr269959pjb.113.1661900314469; Tue, 30 Aug 2022 15:58:34 -0700 (PDT) Received: from smtp.gmail.com ([2620:15c:202:201:5f34:2f6:2856:188e]) by smtp.gmail.com with ESMTPSA id bf3-20020a170902b90300b001743be790b4sm10083539plb.215.2022.08.30.15.58.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Aug 2022 15:58:34 -0700 (PDT) From: Stephen Boyd To: Prashant Malani , Benson Leung Cc: linux-kernel@vger.kernel.org, patches@lists.linux.dev, chrome-platform@lists.linux.dev, Tzung-Bi Shih Subject: [PATCH 1/4] platform/chrome: cros_typec_switch: Add missing newline on printk Date: Tue, 30 Aug 2022 15:58:28 -0700 Message-Id: <20220830225831.2362403-2-swboyd@chromium.org> X-Mailer: git-send-email 2.37.2.672.g94769d06f0-goog In-Reply-To: <20220830225831.2362403-1-swboyd@chromium.org> References: <20220830225831.2362403-1-swboyd@chromium.org> Precedence: bulk X-Mailing-List: chrome-platform@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 We need a newline here to ensure the next printk starts fresh. Cc: Prashant Malani Cc: Tzung-Bi Shih Fixes: affc804c44c8 ("platform/chrome: cros_typec_switch: Add switch driver") Signed-off-by: Stephen Boyd Acked-by: Prashant Malani --- drivers/platform/chrome/cros_typec_switch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/chrome/cros_typec_switch.c b/drivers/platform/chrome/cros_typec_switch.c index f85687adb594..383daf2c66b7 100644 --- a/drivers/platform/chrome/cros_typec_switch.c +++ b/drivers/platform/chrome/cros_typec_switch.c @@ -244,7 +244,7 @@ static int cros_typec_register_switches(struct cros_typec_switch_data *sdata) } if (index < 0 || index >= EC_USB_PD_MAX_PORTS) { - dev_err(fwnode->dev, "Invalid port index number: %llu", index); + dev_err(fwnode->dev, "Invalid port index number: %llu\n", index); ret = -EINVAL; goto err_switch; }