Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp5028620imm; Tue, 16 Oct 2018 04:09:51 -0700 (PDT) X-Google-Smtp-Source: ACcGV62jyRoMhgz9LAF+FoUMAjIYwDk0DLVVeUcPiqLmm8fJXBo1Fh/Kk8krDwNfF9B0f0B5TFza X-Received: by 2002:a62:20d8:: with SMTP id m85-v6mr21538555pfj.152.1539688191001; Tue, 16 Oct 2018 04:09:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539688190; cv=none; d=google.com; s=arc-20160816; b=qQhy0z7m6SuvUkbkkCL4WJghV0aI5CkTawEXpS1xLzE2BLhHQ7Fv4AsUBkvghCPkvu Qb3sCZapw5POvsemywCh1h16OUkrBtSidCMrYQGnsgFopDZCoX6ufm0G79uWTrOH5GWY ooL0J4xqQMAm+u5WgNgPcFWnobCz102mSu69P2fy4Q/QUyqX2Mx3O4frRgYNV8W+OC0l MNBMgzL0DGJ16A9tBcV+QOiAdT+7lo4v8Gg+q6oy3kvRfK1jePIQRiJMzocuvEavJU0L KmGvq+CuM493OZNrFixs4IxBNjshZOsEUeRTgex1DrSnp9y+7/kdFIn238KcPq1bNBl+ 2cyg== 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; bh=kMEn2Bs2fscUlJdC0XZdN6/pCUv+zhzatDmkRx4OHLY=; b=vMpxO3cPo7OyhMeLnbvnAx8ZLEBEJ7RrJWXA3n0jM08pLSx7ggmEoK0eUi4FGrBft9 +eGCWRczNfbiWaocG4srTUSpixVrLvGTT77LKanI1fxfKwcaEkdAu2tgUR+Agc2ccG9s fmGi9dUd+Jze/R4y0WsAeDfpR+vpEkhlos3gIFE9DWHUBpRBPIz5DEFu0Md4P9Bui3Qf XIOTQvWWa/FRhnlpogX/wx+tZ7hhgVT+d4bLkMVgYld1eu0lWRn4e/LWTlTsK9gD7QYQ vXFMnWIPDsf/ySQN/g2+tCeLDUWjq1smoalAybuqh0HIpOubRyYUMczTMojo6XXK1ss3 GTnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xbXn9Aa3; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n5-v6si13501387pgg.186.2018.10.16.04.09.34; Tue, 16 Oct 2018 04:09:50 -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=@kernel.org header.s=default header.b=xbXn9Aa3; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727071AbeJPS7G (ORCPT + 99 others); Tue, 16 Oct 2018 14:59:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:57616 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726718AbeJPS7F (ORCPT ); Tue, 16 Oct 2018 14:59:05 -0400 Received: from localhost (ip-213-127-77-176.ip.prioritytelecom.net [213.127.77.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6EC2D2083C; Tue, 16 Oct 2018 11:09:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1539688150; bh=OmIFT0kf3jNsUK7486lXVLy3M5NnVUs+H2HRj/IXsLI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=xbXn9Aa3h3pQd5+7sO2MqKXEPOKQxvsiGDhHL+YJWGQPCLhDR99NZDKaTArh0fAuI 5eHIjjAT8mKVhP4oEktpW9NSX2Cy+/D5o8GRWqs3cXQco+/CopLJnIKr78baIDMD8b xgU1/EsHTz9LaMJBj9gtluQfPe4BcQ1IdfjmHk9U= Date: Tue, 16 Oct 2018 13:09:08 +0200 From: Greg Kroah-Hartman To: Mark Brown Cc: Andrzej Hajda , Bartlomiej Zolnierkiewicz , Marek Szyprowski , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, Javier Martinez Canillas , linux-arm-kernel@lists.infradead.org, andy.shevchenko@gmail.com Subject: Re: [PATCH 1/3] driver core: add probe_err log helper Message-ID: <20181016110908.GA32581@kroah.com> References: <20181016072244.1216-1-a.hajda@samsung.com> <20181016072244.1216-2-a.hajda@samsung.com> <20181016102715.GD7449@sirena.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181016102715.GD7449@sirena.org.uk> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 16, 2018 at 11:27:15AM +0100, Mark Brown wrote: > On Tue, Oct 16, 2018 at 09:22:42AM +0200, Andrzej Hajda wrote: > > > +int probe_err(const struct device *dev, int err, const char *fmt, ...) > > +{ > > + struct va_format vaf; > > + va_list args; > > ... > > > + return err; > > +} > > + > > This will need an EXPORT_SYMBOL for modules won't it? EXPORT_SYMBOL_GPL() to be specific, as it is dealing with the driver core. thanks, greg k-h