From patchwork Thu Nov 26 03:08:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Evan Benn X-Patchwork-Id: 11932631 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 751B7C56202 for ; Thu, 26 Nov 2020 03:11:03 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0078321534 for ; Thu, 26 Nov 2020 03:11:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="K4a5TMZH"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="BM3vd/ZF" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0078321534 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=Ps4dIzRlxXtDEQSbOdup/qLyBCRZ8Z1TAJHuiBSp2mM=; b=K4a5TMZHFyhY5HAgpJShpVtBxD PQ3IwGNRZ5LnN8lAzNO+q2lV4f8Sl96ay7um5/BfCH3WtBJyuI2oEO2zApLXCyJXmjEl4PFTmmEUm dWPDk//Jazu6oA/4/bwFqFWJuQmIIT17sN2OgLcNae95uftpFhl6nTf0VMppOY6jtK6QOff50VapK kkQzebCCX6gNkmoms9P2U8WTbjGhFhjIUTJ/THd7NOzbnzVBbbDNfedepRZzGgPL56Y7efeyGHFTW ad8ljPI8l3dMcXEHj3n0E+fBdwGnN+V7agZ63g1z2NcQxFIy7dOCFbkgr38ZO9qAcdh/DCxYpGlMC w2bNdk0g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ki7ef-0007Ww-Px; Thu, 26 Nov 2020 03:09:09 +0000 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ki7eX-0007Vl-FC for linux-arm-kernel@lists.infradead.org; Thu, 26 Nov 2020 03:09:02 +0000 Received: by mail-pg1-x544.google.com with SMTP id t3so475562pgi.11 for ; Wed, 25 Nov 2020 19:08:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=atnJehQZVO119pd4VO6r7q8kYsvyqoBTmsMlSh7A/i8=; b=BM3vd/ZFTSIIrKiVzBBNSfoocvC2mblhZ+0r6qJV9fNEKYFCP90dXn3R9CA4G5/2pW C99fiMkTeWf0gmDuqNgO58YNoGNW1I2ngQc3mvSf6PCpZpMlhxlsTxuUVEldMDeg00F8 f2LEf6I/A7CjN2hp8bOumSlFwDFEcFucwQ3L0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=atnJehQZVO119pd4VO6r7q8kYsvyqoBTmsMlSh7A/i8=; b=WQvsZmk7AGqFQBPGHA+uWun902zBxI6TaV+MHwUQeXWtw+5/lV+WkuBKnXkpVCkik2 tbpZF/Zw23jm6oS4AdcreuH4Psdj8mAMn22ORcD52f775MEbI8Lw98oj22+M839JNlmq xkZoB6yIAYmAROILyYPXaJ078cTVgi+KnUn+r8GvnZRwnByN5gnIe3zUAdqrDn3umSJw 1TuuV2mfad2wjFJ/WtTC+UZKUZnF2TPCS+vQYzCbKxFnPzCmAIHCtPc6O2eUi9gn1WDc c7sswT+2KifVa3ahwTeqt2n5G9KRMfROAhvj+W0YbzGRihYFbGf3TsN46FxjqmQY7pxR rH0A== X-Gm-Message-State: AOAM531+2ypCFiW7yqSsMDg2bSiHb6Q6GGaahbqS9ydB9R8irTMN+3B5 lTMKqk5AxoGEyohL7Lwy8KFS+bC8PDikhbSf X-Google-Smtp-Source: ABdhPJyAC2YiZ6o3LkjuCB38jzADK3Pw3TNqQRc+UnVcBfB1j9l5XRJ1Br9UH0oCUYWbT3uXJ1Z9ww== X-Received: by 2002:a17:90b:30cb:: with SMTP id hi11mr1119711pjb.94.1606360131611; Wed, 25 Nov 2020 19:08:51 -0800 (PST) Received: from localhost.localdomain ([120.152.32.152]) by smtp.gmail.com with ESMTPSA id y9sm4323663pjj.8.2020.11.25.19.08.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Nov 2020 19:08:51 -0800 (PST) From: Evan Benn To: linux-media@vger.kernel.org Subject: [PATCH] media: mtk-vcodec: Fix order of log arguments Date: Thu, 26 Nov 2020 14:08:42 +1100 Message-Id: <20201126140839.1.I723c6846bc6913bd0831a78874aa767dcbdae470@changeid> X-Mailer: git-send-email 2.29.2.454.gaff20da3a2-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201125_220901_579085_8F1B7B74 X-CRM114-Status: GOOD ( 14.08 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew-CT Chen , Tiffany Lin , linux-kernel@vger.kernel.org, Evan Benn , Matthias Brugger , linux-mediatek@lists.infradead.org, Mauro Carvalho Chehab , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Signed-off-by: Evan Benn --- drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.c b/drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.c index a3c7a380c9308..785ec0df445ec 100644 --- a/drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.c +++ b/drivers/media/platform/mtk-vcodec/mtk_vcodec_intr.c @@ -27,11 +27,11 @@ int mtk_vcodec_wait_for_done_ctx(struct mtk_vcodec_ctx *ctx, int command, if (!ret) { status = -1; /* timeout */ - mtk_v4l2_err("[%d] cmd=%d, ctx->type=%d, wait_event_interruptible_timeout time=%ums out %d %d!", + mtk_v4l2_err("[%d] ctx->type=%d, cmd=%d, wait_event_interruptible_timeout time=%ums out %d %d!", ctx->id, ctx->type, command, timeout_ms, ctx->int_cond, ctx->int_type); } else if (-ERESTARTSYS == ret) { - mtk_v4l2_err("[%d] cmd=%d, ctx->type=%d, wait_event_interruptible_timeout interrupted by a signal %d %d", + mtk_v4l2_err("[%d] ctx->type=%d, cmd=%d, wait_event_interruptible_timeout interrupted by a signal %d %d", ctx->id, ctx->type, command, ctx->int_cond, ctx->int_type); status = -1;