Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1683808imm; Tue, 10 Jul 2018 06:17:12 -0700 (PDT) X-Google-Smtp-Source: AAOMgpffdHIkuxrzg3NeC6kfEKg/TeApY50stFVD5T/rsoHn3zrDMJudz0r+bsOuc2S+FNxckpqG X-Received: by 2002:a63:8a41:: with SMTP id y62-v6mr22033770pgd.291.1531228632542; Tue, 10 Jul 2018 06:17:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531228632; cv=none; d=google.com; s=arc-20160816; b=kwmOTgM/o63RIS7M49ilLLG9PPA1995tKkXFxrTEMp+a8p9msQJl7JRM4LvKx2XOn6 XAL35eAmR7Q6464uq5sikErrAdB8GLbccHbPUYEQ3rY42Qa6UAhH/h7+ocTguMP2J4+W Ef9JQ7DOP5VhGwTG0OiotPugtbwoZKrpfEHiPahf2A/YCiXL7DBVKQ8mxcynACscirgf 7E7+IH0vi1EtzzmZmM55woZxAE142sdG9f2T9a76Sj6MF1yzwrpt5gcGj21WQRR0zqlo pcno0NZRRRwpybIFGqU6Rr8Aq0ZPqbZmKfHr7pSrWxomFFrUD90yXUuV7TAa5DW7+Ux3 Qfgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=TOM/6cs+vo0eSYc3TbmAPzdovtRMNyE+Swb4waoUH4Y=; b=qaJ9GNChTMSMbUfECzRJ/iOsfWs8bg3Zg7krTb2Wx/sgjxLlbAufBDpzz0eZDN9/ph L4I3rJ9QIVX7GHtQ8AUYLM5vMtucd7WRo6Q6CTaH1onFnjX8VffApnoNon+Y0Jm24klz gXnE49UYOMCNCyC9/US47GFJV85O8Z+pcGXlLLUfFbUKi9q+You/6qNe7okOVCfvg8R3 hjztpFCkzbZ6tOgqtcROQ5ipqAP2Ei/KYBOIkSfUWCVWm5IclRlMyRiOCBvA05Bq1qGv eHbFUVfXWOMPoyK4q9afcbCjh5fv3CYemh8C7mbxLi5IHIw1HksoILATo0DGTCjr3wdQ so3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jphY3KJd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f67-v6si17394090plb.460.2018.07.10.06.16.39; Tue, 10 Jul 2018 06:17:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jphY3KJd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933294AbeGJNPy (ORCPT + 99 others); Tue, 10 Jul 2018 09:15:54 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:41283 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932998AbeGJNPv (ORCPT ); Tue, 10 Jul 2018 09:15:51 -0400 Received: by mail-pf0-f196.google.com with SMTP id c21-v6so11456818pfn.8; Tue, 10 Jul 2018 06:15:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=TOM/6cs+vo0eSYc3TbmAPzdovtRMNyE+Swb4waoUH4Y=; b=jphY3KJd1w0boN67HeeEJSqVEb2ssgX99MkdL6ZYjPdEXmVX5JmFlUpopXsfmdfq73 mSmTEvWHugvB7RI0gtv3e8fjbWbsFuVDrpYlSO2zyfftAETsNcQ/TsKjAN8mYCc9MHav g8ZxGFj2VFE/pI9RFuNfa33kM8py0PWqyTOOev5FVMMIKsYONV8z8EDZeq3rAnUJw+m4 bGoAT+xxYe30H/s+SPxB0GEmvz7VuDCDequDdXNDvXtv+V9BnA7/1oyGXuKG6OmAMW1f K6x7JhxBWXAHR8xhcrsF4+Bw9YGXkTXhhxEK2mICzzX9ulFvfCsxsfdIm08LsIy47JXg A41Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=TOM/6cs+vo0eSYc3TbmAPzdovtRMNyE+Swb4waoUH4Y=; b=Cl/z38sJStzeO2/CVyy1rqAGBMEyjTW1/5fKfeIVeIkIbgSlRlh6pA4WC+Rt8eWZfg xVQOMHDmMbtxvN31EL2nRrWHEiEqPaAAUCMWRvED5IpA1nwb2xocNoYUzKe8aMzhpNV5 auVaJ6b7+4kDBMBuCvxNjsCFhXCFFwki0FjRET/1pc7CfJDaV20CRctQjUFhVk61ln5j gZK+NJC8cPzXTepNXyccVEfom4n3e1p5La6lQKqVjcQIdTXcN/ICvng9NlT8WaZr2jXh BfM/4330Dd7PkX4ZkPIY/mHsJlCoasngvlVY1WoUe5VvELW4mflsKfQGraFC6QN9n7KG f4Eg== X-Gm-Message-State: APt69E1CzFQ/kl5s3dZmyV2IAmzUmjIhbYckXDCGdgPMoBOpOt0uAYKn QnudFOZNS2LqasEL7lY7cZv6aqIJ X-Received: by 2002:a65:450a:: with SMTP id n10-v6mr21937678pgq.392.1531228551176; Tue, 10 Jul 2018 06:15:51 -0700 (PDT) Received: from localhost ([121.137.63.184]) by smtp.gmail.com with ESMTPSA id s2-v6sm25999675pfh.186.2018.07.10.06.15.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Jul 2018 06:15:49 -0700 (PDT) Date: Tue, 10 Jul 2018 22:15:47 +0900 From: Sergey Senozhatsky To: Petr Mladek Cc: Maninder Singh , Stephen Rothwell , Linux-Next Mailing List , Linux Kernel Mailing List , Vaneet Narang , PANKAJ MISHRA Subject: Re: linux-next: build warning after merge of the printk tree Message-ID: <20180710131547.GA526@tigerII.localdomain> References: <20180710164514.22c552db@canb.auug.org.au> <2014348883.271177.1531206974788.JavaMail.jboss@ep1ml503> <20180710091909.rwgtahcew6grhd6n@pathway.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180710091909.rwgtahcew6grhd6n@pathway.suse.cz> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (07/10/18 11:19), Petr Mladek wrote: > suppress_message_printing() is not longer called in console_unlock(). > Therefore it is not longer needed with disabled CONFIG_PRINTK. > > This fixes the warning: > > kernel/printk/printk.c:2033:13: warning: ‘suppress_message_printing’ defined but not used [-Wunused-function] > static bool suppress_message_printing(int level) { return false; } > > Reported-by: Stephen Rothwell > Suggested-by: Maninder Singh > Signed-off-by: Petr Mladek Acked-by: Sergey Senozhatsky Happens all the time to me as well. I'd rather remove CONFIG_PRINTK at this point ;) -ss