Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp791211pxv; Fri, 9 Jul 2021 09:06:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWsexg+cs5OQ8xc8atV80NdAiMDAXfmA5/+rNrrmswF4DLSJA6IgLgzgY5APicmfIjV7sg X-Received: by 2002:a05:6402:26c6:: with SMTP id x6mr39395514edd.133.1625846798406; Fri, 09 Jul 2021 09:06:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625846798; cv=none; d=google.com; s=arc-20160816; b=t4XBjX947vNr2ptfGkU0FKQJGUp0nIbKQJjtqN2DxJSl/xraBJlhrbSNYJkjDZIwYm 5JZjRq/XVu3//WkMBnEVRdC/ApEmIdiwlQ+OBxftE1/twyNLBGUNtH4KVSltQbWSeeHC e6XdTblPzawEsTwOY+eCKYsCpVvcfe9R17qa4dnoTJvWka0GKut+Udhi+iuzr3WdUMAm Lf9gY06MJsS7kERGAJxInezlAwBSgBMcuRhMGjDRb0IxpgEjyNWGji0H+zPVXKFMT5GS ao5LG0t4v4errMFzO8kdBIQ4crp9riA2D/jtOvTtxSpaTWLmEcioj11m+ymQn1NTvyb9 OE1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=pQEINJeY29wkXLTjug+RmzRBfAMM8nWV2a2g3zkQM5s=; b=0K0xo7nbTPyiciHUkM4hGnmxPydYCaMYQktsyaD/TiawrRKbrjCKKnuxmql7g0Gmsm wqAYTtxGoFXtF2Z1hFBbcCf46NZuWQi2GWh8tTNKX4k0E8jc0HykLAKGB4q54vwxNEvz sem2Y15VcBJBlJDN2sBYwZXle9dR7c1m9xAz1lyTRkxt8OWomIV0s2nROhKmeM3Du9vr F2IC3vZvDAKp6tQ/9RHGd2ANGa6fTrh1HP7f8Gdg8GYpzFlgod8ycRKm9mKV2Q6SCNH+ e7ZPO3Qslf47xz3lc+izFg6Sj4QTPiBwhYjjXyZADoMnmLJK3NAIhnVj8fLGUqGhbsbZ WdmA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id di3si6234225ejc.490.2021.07.09.09.06.12; Fri, 09 Jul 2021 09:06:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232330AbhGIQIC (ORCPT + 99 others); Fri, 9 Jul 2021 12:08:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231976AbhGIQIB (ORCPT ); Fri, 9 Jul 2021 12:08:01 -0400 Received: from mail.sf-mail.de (mail.sf-mail.de [IPv6:2a01:4f8:1c17:6fae:616d:6c69:616d:6c69]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BADD4C0613DD for ; Fri, 9 Jul 2021 09:05:17 -0700 (PDT) Received: (qmail 5818 invoked from network); 9 Jul 2021 16:02:17 -0000 Received: from p548c7b0a.dip0.t-ipconnect.de ([::ffff:84.140.123.10]:37102 HELO daneel.sf-tec.de) (auth=eike@sf-mail.de) by mail.sf-mail.de (Qsmtpd 0.38dev) with (TLS_AES_256_GCM_SHA384 encrypted) ESMTPSA for ; Fri, 09 Jul 2021 18:02:17 +0200 From: Rolf Eike Beer To: James.Bottomley@hansenpartnership.com, Carlos Bilbao Cc: deller@gmx.de, linux-parisc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drivers: parisc: Update iosapic driver with proper printks Date: Fri, 09 Jul 2021 18:05:05 +0200 Message-ID: <7261873.EvYhyI6sBW@daneel.sf-tec.de> In-Reply-To: <5760611.lOV4Wx5bFT@iron-maiden> References: <5760611.lOV4Wx5bFT@iron-maiden> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3608610.kQq0lBPeGt"; micalg="pgp-sha1"; protocol="application/pgp-signature" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --nextPart3608610.kQq0lBPeGt Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Am Freitag, 9. Juli 2021, 15:38:44 CEST schrieb Carlos Bilbao: > The code from the old I/O Sapic Driver is outdated when it comes to printks. > Fix applying proper indentation and using dev_dbg() instead of printk on > debugging blocks. Also add a KERN_ where it is missing. Have you actually tried building this? I bet not: > +#define DBG(x...) dev_dbg(x) > + DBG("io_sapic_info at %p\n", isi); > + DBG("\t\tisi_hpa: %lx\n", isi->isi_hpa); > + DBG("\t\tisi_status: %x\n", isi->isi_status); > + DBG("\t\tisi_version: %x\n", isi->isi_version); > + DBG("\t\tisi_vector: %p\n", isi->isi_vector); > } > #endif /* DEBUG_IOSAPIC */ You are not passing a struct device here, so this will not work. Eike --nextPart3608610.kQq0lBPeGt Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQSaYVDeqwKa3fTXNeNcpIk+abn8TgUCYOhzsQAKCRBcpIk+abn8 TpaCAJ9mOyggOWP67DN4nfSxWms8582CewCfb47IkLCOfV43CQ9Q4Y4qoMnAqhE= =a80g -----END PGP SIGNATURE----- --nextPart3608610.kQq0lBPeGt--