Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3558173imm; Sun, 17 Jun 2018 23:28:32 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKSbkj2OxgpthVzr0g4S3Nc9SRWerV15x2ydqdJmrbG1tG3EqdsvS5pEKhodrZOPbv40C3I X-Received: by 2002:a17:902:7089:: with SMTP id z9-v6mr12555559plk.231.1529303312749; Sun, 17 Jun 2018 23:28:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529303312; cv=none; d=google.com; s=arc-20160816; b=g19IDOi7GjFc/R38tloemewKj5zKYLpSAhG9+ZeEA0V3mnMdMyw1nwYyJ4UqAzA1SC OicWudbKlEGmmOCCmnuoJmrrO240tHTlFC47kihBPlne1nws1l0G3NAj+vniLYVR2z5+ JK/3rbBWwTb2XsgeAZF+V11evQt+kcJlU4xAl9fQXySBMijFCkxIQMS+6Cv4oakAdPit E4k/b87lm730/MM65HY/qXQ78hN4T+Kca7ZMNGhADL7tKliIVUl6LKLcHw4a95becedQ 4eu8BlL9Vagd4YhFqfD4EIv0HCurpIZmYxzcYVz8jg0g6cKmRTKY/O91wdRK4sVnbqdf Znjg== 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-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=B1sy2nA0goVTcv/3oZ9b1w/x/Xcq7kdQ2jxucQ1xIdM=; b=zTQPtFiBioPs0Sf+PGV8nSYkZOXYj29jROjjSe2Bp6MSqT4/GpgvMdbXi/1xCgStjm wtQyqFGR6id3whcll1pulG65O531jFgJM4WPXU0IRRHcLiefZ++NFJpRqR2a+UPn3G1D 4d73av98AHEc91kkJreiavafIJi4+syberwWkX9fFnSe7SLQLrA0ryLJosK4xwfYFCTL tMEph1XzFVeoKBqA44HV/RJ+zKJrC7f4xBOPQfpS7ivr5HuA7m9RSTjuSiElNQvrqysC mHaVgiadlwZN2AnbSUHna0o4iLs8JTeEws2fbqN7lfp0ERbUZM5RBhbqWiRPzzP1HCtB YnvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TSLnfJqV; 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 124-v6si11816028pgi.425.2018.06.17.23.28.19; Sun, 17 Jun 2018 23:28:32 -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=TSLnfJqV; 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 S1754917AbeFRG1i (ORCPT + 99 others); Mon, 18 Jun 2018 02:27:38 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:34458 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754543AbeFRG1g (ORCPT ); Mon, 18 Jun 2018 02:27:36 -0400 Received: by mail-pf0-f193.google.com with SMTP id a63-v6so7642671pfl.1; Sun, 17 Jun 2018 23:27:36 -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:in-reply-to:user-agent; bh=B1sy2nA0goVTcv/3oZ9b1w/x/Xcq7kdQ2jxucQ1xIdM=; b=TSLnfJqV3NbJbjfe6grnbrQbDzbTNCS8okty2m+LIx+V9p92X4bPl/QT/nTYS277pz +vAOci/FeqCBQvtDF0RmKJeyhFvu/l+IZE0TNp0KJZ7O8I6ciQgBM1o0/OuuUtrijOk7 1AQuCw7dItjIN29Nk38m5l8QHghqu5DD91Tsl1/gEnsqSYchzhRyyh2w9AxXarYh++31 /NbkVrMIJrYv5Jx1FxpH+QMOa3SlyhNqLUxJmjWtzPDBCxR4pBfszZg90qM+UbJTYzLt A1kTtBezOoEhezRFdEyChWBuyVoajl7DyMX1FfxmZkmMOHZSj3BIYzpKeQBR3hPd8o9r YPiA== 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:in-reply-to:user-agent; bh=B1sy2nA0goVTcv/3oZ9b1w/x/Xcq7kdQ2jxucQ1xIdM=; b=pa9CUrfloeU5EP+6aWtvh8HhYguCaJ229+Vi+ouMH+wPMRrWTUlSbA745pQQ69wLP7 RZi39eCGDrMQ/FHN3ze6AeB0+qyBXHck80T/oVMliIyDUy9jALFKLHmaj59vZBbNBL7p KAH/IMHTWRNF8+22EuK6CBbsDkxMKyMidClaGqxugG0yQVJNwMUzZNb3k7G7OUjp4Il5 uKvfVg/OrcnbXwArXRu9L+N+UMo17w88440R092zjhjBQB0GW7yg/tnrz/8LqBV72sdc 5NgvraIjut9S9dAOa5JSZCl1JrJUDBGuXa6x3YHxCuEiM1JnVXhbMe8mg+vzOpMfVksd 1Rqw== X-Gm-Message-State: APt69E3XiBVwt+xNDQc5n0x1McfFpih0Fr1d+Ia38ORBCxfJ+ZmT/wUm rrbf0tWx0mvVEIbTyYCM0ok= X-Received: by 2002:a65:5143:: with SMTP id g3-v6mr9805663pgq.190.1529303255784; Sun, 17 Jun 2018 23:27:35 -0700 (PDT) Received: from localhost ([110.70.54.122]) by smtp.gmail.com with ESMTPSA id q69-v6sm39938046pfl.16.2018.06.17.23.27.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 17 Jun 2018 23:27:34 -0700 (PDT) Date: Mon, 18 Jun 2018 15:27:31 +0900 From: Sergey Senozhatsky To: Sergey Senozhatsky Cc: Petr Mladek , Steven Rostedt , Greg Kroah-Hartman , Jiri Slaby , Linus Torvalds , Peter Zijlstra , Andrew Morton , Dmitry Vyukov , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Sergey Senozhatsky Subject: Re: [RFC][PATCH 1/6] printk: move printk_safe macros to printk header Message-ID: <20180618062731.GB27996@jagdpanzerIV> References: <20180615093919.559-1-sergey.senozhatsky@gmail.com> <20180615093919.559-2-sergey.senozhatsky@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180615093919.559-2-sergey.senozhatsky@gmail.com> 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 (06/15/18 18:39), Sergey Senozhatsky wrote: > Make printk_safe_enter_irqsave()/etc macros available to the > rest of the kernel, so we can use them in TTY and UART code. Sorry, this patch is incomplete. Since we are going to use printk_safe() API in modules (serial console drivers) printk_safe() functions [enter and exit] must be exported via EXPORT_SYMBOL_GPL(). -ss