Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2594787pxb; Mon, 17 Jan 2022 01:41:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJxjENeuF6RRE0MHBw9MsIlCv/g8/69j9jMfuIBi3AKERxoZAgzkGuFnONoRS+IGHeJl490k X-Received: by 2002:a17:90a:7c0b:: with SMTP id v11mr2863067pjf.180.1642412471319; Mon, 17 Jan 2022 01:41:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642412471; cv=none; d=google.com; s=arc-20160816; b=AzfiKotYnoTNHMFkQdRYjaJ5nlDLkD8/7z87XG4UrYdf6yOVx5Oa6I59yNTLUzQWBI Pq04foQneolYBSdTXuLaIV6M+FgTynCML/TonqJwYVDIA5NjuQq/7RapQJA88Ebjgc9W hbRyCi99Je8IaPVPH/70Qd28V+QY0rzbxMEAh5FDPXC2P4CVfXuBatpWgxekVDht9mcP vdY82SEY8he3kN1QTctvZ1e6yDiVQuspEVRjRRmA5TXGqIIUWFTvHxXxVPAj/9b5WrrT CZC2ImH5HWk+3mz2Em2vBubQmkIW3lTysRt5CK6ENSnjc9AVr1qS6pa4I+MEnqYqnkh1 OeYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=SM4OKV9Mv+s2Q5kz4yzPv56ShBZelcFLXXBsRc0m6d0=; b=eYyWPY3oeQJOcxKTp0oUn/x55o8WsBiNTpeFNhwd9Zy1N+YVHAalAqbQ76/uDsZKyh 2lha8c1M1ZdQV8oI7iCAAariyf2tuCF7txUBFoUqbYz9lcFAq6w+jGasZNXoczJiwxm0 Os3XAh1I72GRB8hYc0r+d944a5j/d8B1OQH7Jcbm7SRkhvk1061+xt1JHVAcIrDbczCC KFoSQvDKR586zSMwkM6pr8Ny21ZJ41fGzkyB0jCY4Yoa37+BKxM4hs63kyNvmMSsW8YU d6YxGONZFlYCeZfqk94tCYUyH9fEhzL0w62voe+tKUh8i3tO5tEg4ZWhm5I0hj3rISSw g02w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=NDIcNZQl; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h1si13292869pgc.803.2022.01.17.01.40.59; Mon, 17 Jan 2022 01:41:11 -0800 (PST) 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; dkim=pass header.i=@alien8.de header.s=dkim header.b=NDIcNZQl; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235767AbiAPS3t (ORCPT + 99 others); Sun, 16 Jan 2022 13:29:49 -0500 Received: from mail.skyhub.de ([5.9.137.197]:33694 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232456AbiAPS3t (ORCPT ); Sun, 16 Jan 2022 13:29:49 -0500 Received: from zn.tnic (dslb-088-067-202-008.088.067.pools.vodafone-ip.de [88.67.202.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 79CA71EC0104; Sun, 16 Jan 2022 19:29:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1642357783; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=SM4OKV9Mv+s2Q5kz4yzPv56ShBZelcFLXXBsRc0m6d0=; b=NDIcNZQlCqkxEEr8l8uJ6fsjOfPcy6ZNU8F8+h1+3hoAUXvWwwYa/4ImLpbXYTtQJoA9O2 CeEbdcZegdIz+VpjD2A6dDsslpP1hnucCv5prm9Ir5u8CLEGjg60aCryKIA8+M5AcmA5e8 Pngtj8n4haYf/NXmTHq/mB6bTv5L6JM= Date: Sun, 16 Jan 2022 19:29:46 +0100 From: Borislav Petkov To: Tyler Hicks Cc: Lei Wang , Tony Luck , Mauro Carvalho Chehab , Sinan Kaya , Shiping Ji , James Morse , Robert Richter , linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] EDAC/dmc520: Don't print an error for each unconfigured interrupt line Message-ID: References: <20220111163800.22362-1-tyhicks@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220111163800.22362-1-tyhicks@linux.microsoft.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 11, 2022 at 10:38:00AM -0600, Tyler Hicks wrote: > The dmc520 driver requires that at least one interrupt line, out of the ten > possible, is configured. The driver prints an error and returns -EINVAL > from its .probe function if there are no interrupt lines configured. > > Don't print a KERN_ERR level message for each interrupt line that's > unconfigured as that can confuse users into thinking that there is an > error condition. > > Before this change, the following KERN_ERR level messages would be > reported if only dram_ecc_errc and dram_ecc_errd were configured in the > device tree: > > dmc520 68000000.dmc: IRQ ram_ecc_errc not found > dmc520 68000000.dmc: IRQ ram_ecc_errd not found > dmc520 68000000.dmc: IRQ failed_access not found > dmc520 68000000.dmc: IRQ failed_prog not found > dmc520 68000000.dmc: IRQ link_err not > dmc520 68000000.dmc: IRQ temperature_event not found > dmc520 68000000.dmc: IRQ arch_fsm not found > dmc520 68000000.dmc: IRQ phy_request not found > > Fixes: 1088750d7839 ("EDAC: Add EDAC driver for DMC520") > Signed-off-by: Tyler Hicks > Cc: Why stable? AFAICT, this is fixing only the spew of some error messages but the driver is still functional. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette