Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1055062rwd; Tue, 13 Jun 2023 04:21:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4gCB4UNfxt2UtEwVYXUPeKCQzJ1hn91zr8u2owQfZV4bvwIc2yr+DEl6KJVWqqai3+f12b X-Received: by 2002:a05:6a20:3d92:b0:10f:652a:27ea with SMTP id s18-20020a056a203d9200b0010f652a27eamr17692672pzi.6.1686655317225; Tue, 13 Jun 2023 04:21:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686655317; cv=none; d=google.com; s=arc-20160816; b=V2Ea/G9ZqWbx/G+rWR01zfdqc1xlGp7d5INc5oXV/480RaNyHoD+XZf9dEQDc9iwGG PQcQ2Z//WgSIel8T9vKRZUhVGOVAY/nNDRxBf0Ihz2mvQfsrqmnThVQ0j3u8DfSpOIWV Xyf0naHCJZJd2ebKcyPM+dvuVs4u2NWmggYHFqrrU/2wG/2zaubevXpojx8lbHCmpa/O CiXfVOPDOWNASOndswfOZFNlgI2vOFHrwxJh1GrWqQomSDwxsalQ/C3WJ47STjnJa3Tl +57PAeCCk3ynWAGAalgqiF+zJfs4a7BRpAgEiMxt+tPPY2e5eXBkU+Mzk1JecHxG/7zO VJtQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=I1lXhCwwkTluotNxM94JUDxkMaSVza26KonrPaNCMCs=; b=zcwhJF2SqePynFMXBAKW512WxBwyIr3UUOYNv3VrL/tTrW2JDmM5rT4W5JfeqCNju+ 5DWD1SZM3uldVl6386LxMdwLO1wZSPj3byvtlyc5dF1/o8mn6J7jx9SsEN/HujbnbtpP SxDWuMrWj0dw/qs8RJFpqUb+KBfX9KAglEbcyqfPxoo85Q9qNARe0t3DXdDbQFaipczr MMUZmD54f9mmmt1UdL5gsDvMAFWf13T6vVlbl8RpbX6z+qcvxCPhHM5kkMuySNNZIVh1 /mMIVgTTRGzeUWgXs8f41uuVeiqS3ZQjLb3TQzCXJlVcXd7wkQwZLEdILRd0igZ9m7wv RO4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=GMcTHgMF; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=pE5AqeVL; 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=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f16-20020a633810000000b0054288b91d66si8617110pga.635.2023.06.13.04.21.45; Tue, 13 Jun 2023 04:21:57 -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=@suse.de header.s=susede2_rsa header.b=GMcTHgMF; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=pE5AqeVL; 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=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242305AbjFMLME (ORCPT + 99 others); Tue, 13 Jun 2023 07:12:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242125AbjFMLKI (ORCPT ); Tue, 13 Jun 2023 07:10:08 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0BFE210DA; Tue, 13 Jun 2023 04:10:07 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id B10071FDA3; Tue, 13 Jun 2023 11:10:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1686654605; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=I1lXhCwwkTluotNxM94JUDxkMaSVza26KonrPaNCMCs=; b=GMcTHgMFSY0lkdtn1OuBxN2h39OQkf3vKKkENDf+V+lv0LmjfUAFdoPLd7TKQ1fECZF3ga EA2ID4NfY8BmqNZlVc42cYUptJ3l4VWIVTQbwEgFzJJvRB7K/f2MG7VDlayYhrV8RXTJTY 3Cq5AZ3hxM+cAJRx1XGdbxkzxvmV1lg= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1686654605; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=I1lXhCwwkTluotNxM94JUDxkMaSVza26KonrPaNCMCs=; b=pE5AqeVLpcdriEJL4QjDO0oXfyrjQPf9TigLjq6p7XgwzYRBj5j5907OWGmeAyDqYaPx4l TnsLlLaeP1BGYxBQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 6531B13A47; Tue, 13 Jun 2023 11:10:05 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id cAbbF41OiGR8CQAAMHmgww (envelope-from ); Tue, 13 Jun 2023 11:10:05 +0000 From: Thomas Zimmermann To: daniel@ffwll.ch, javierm@redhat.com, sam@ravnborg.org, deller@gmx.de, geert+renesas@glider.be, lee@kernel.org, daniel.thompson@linaro.org, jingoohan1@gmail.com, dan.carpenter@linaro.org, michael.j.ruhl@intel.com Cc: linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-sh@vger.kernel.org, linux-omap@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Thomas Zimmermann Subject: [PATCH v3 29/38] fbdev/sm501fb: Output message with fb_err() Date: Tue, 13 Jun 2023 13:07:04 +0200 Message-ID: <20230613110953.24176-30-tzimmermann@suse.de> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230613110953.24176-1-tzimmermann@suse.de> References: <20230613110953.24176-1-tzimmermann@suse.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 Fix case were dev_err() is being called with struct fb_info.dev. Use fb_err() instead. Signed-off-by: Thomas Zimmermann Reviewed-by: Javier Martinez Canillas Reviewed-by: Sam Ravnborg --- drivers/video/fbdev/sm501fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/sm501fb.c b/drivers/video/fbdev/sm501fb.c index e0d29be1565bb..46951a0952741 100644 --- a/drivers/video/fbdev/sm501fb.c +++ b/drivers/video/fbdev/sm501fb.c @@ -1293,7 +1293,7 @@ static int sm501fb_sync(struct fb_info *info) count--; if (count <= 0) { - dev_err(info->dev, "Timeout waiting for 2d engine sync\n"); + fb_err(info, "Timeout waiting for 2d engine sync\n"); return 1; } return 0; -- 2.41.0