Received: by 10.223.164.202 with SMTP id h10csp914213wrb; Tue, 7 Nov 2017 17:28:39 -0800 (PST) X-Google-Smtp-Source: ABhQp+T7qiPWc823kxNsFrUnyUGECQlstY+JrE5cgkpmLunacW7XCOvN6hQfI5HGi5aCMz7wSWsN X-Received: by 10.99.191.78 with SMTP id i14mr36093pgo.220.1510104519638; Tue, 07 Nov 2017 17:28:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510104519; cv=none; d=google.com; s=arc-20160816; b=gpzUzWJdWVFw7qwfVDiylyE3h4+Wj0g211luYqQSsiUA4jIPKD4zp/uodxOuOFrz5X 955mwQ/ltALHs4uSPJoO6y/htetFWHkWn5R3I5ohFgx0kcXQWeoLKX/7hnky0+qCdSp/ GMa5p0e3AdkaAYO6DyS5jeBBGgW0Ew92+zLuW5XaKI5o2gJDq9xvjs9u8cgQrxi6DVcY VuKHRqvXC7YO1XtsB/FkwBwfwK+DjyPGq/DHcMDsCpI5z1Sxj9FqHMMce2puEfcmFj/R 6Gbgyw5PIga4pZAqI/Q6DAsZefUU67RLETtpP61WrvEzzRAmEcGJat2szCCIMEY4lMO/ wOtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:content-id:in-reply-to:references:subject:cc:to :reply-to:from:dkim-signature:arc-authentication-results; bh=mNfhPx/KH07Mm1W1SS2TbYCW5tJ7ncbAHOSzyBPNuyc=; b=wulDhFNTjYqJ/0wFpWYOIiXLAZX8bDU9CsMds3LlX1HXXVMunPX5Vt3QOr52KIxnLI jWa8G+I8YVnErQf7fPy00h7I6fqH33L3jvfYhKpi3RMwQfEco1NmYmRGXJYfCWtAQgl1 AmunyqWn/22+VP4GnNop2Dp0y6U+54QIhwkSaVZuiqzJFoSKKSEgYLudaTfe6POcd9hH 6xOl6cMt8Xl1yAIlnjmyqzLO3IxpwmZQCDYB+zNAA0qHvadll4odobPL2na48dWO0FXG xc0/P699DZ94/OO5rPAsjI5/IN31xhM+2hqH0tZWbNRDY6KvmDGWz0yUV9w6Fl2Xu7e4 0D0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=EDQS+mT3; 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=NONE 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 z126si2369332pgb.555.2017.11.07.17.28.26; Tue, 07 Nov 2017 17:28:39 -0800 (PST) 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=EDQS+mT3; 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=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757943AbdKGQJD (ORCPT + 92 others); Tue, 7 Nov 2017 11:09:03 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:43141 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754786AbdKGQJB (ORCPT ); Tue, 7 Nov 2017 11:09:01 -0500 Received: by mail-wm0-f66.google.com with SMTP id r68so13548016wmr.0 for ; Tue, 07 Nov 2017 08:09:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:reply-to:to:cc:subject:references:in-reply-to:content-id:date :message-id:mime-version:content-transfer-encoding; bh=mNfhPx/KH07Mm1W1SS2TbYCW5tJ7ncbAHOSzyBPNuyc=; b=EDQS+mT3k6Z6VZ7/BYPrclBAHn/LcDLcMXwwtKo+Twjqy9EmbCTzWkHYN46btadiOH doF3ynPxc4yvk9G3AY//oqExYHMdbowVuWPVkoWxFoE5awRBJSDVLSr7LW5LEsb4A1sk 0TZrhEEdK/kT6xNS7HDxUkv1T9O6uGT5r3hE04ulT2TGh/xDnW2Dx85+fVvdDQNWDM4h rs6Aspo70YkfVCSaSU2BUbauBnDl1Nueb4HrVwZOasgFydmEgKx+B8Zpcq8Ga5A64cU2 OvJG1kLQ69Whrk9MWr7hvX7tjVLWiWwV3niuBfVD1/12B/45VMdrb0emkwx1Q+ldW1WE Jdvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:reply-to:to:cc:subject:references :in-reply-to:content-id:date:message-id:mime-version :content-transfer-encoding; bh=mNfhPx/KH07Mm1W1SS2TbYCW5tJ7ncbAHOSzyBPNuyc=; b=SvmKjHIRBTOqXaQ9pDnR/1MerYSt9ApLmLnJgCsz9Bdm+HvVhpAPs/wfS90cYLmGvM yQaw3BxWQyjuGtzXJ/OJOSfKQsUzuUxTUWQhpB9YcoKJCnhjPcTcuYlM48aOm1YnmpBP qgiEkGHavv74boom19e1QwQg2512ZFQATi7wqS59l/tb2I7riG4cFJIb8gTrRRMzazqD J07rUv160sc/XSHzYin9LY0NAghXfw6XjPfjKOFhbZQfUy7316WzODJKUTnqES39ylx5 9Whi/UBSaTbn9HFB+GpsDFm10izSMjEvoh7amj7WN948X2JGDy2dXCzxhjTFSrCVxEiR o2qQ== X-Gm-Message-State: AMCzsaXHV0tPmEzbfNqaOJ8EEbD3ICaKy0f7Y2yRpBeyCPvQsvQN2C7+ +ZPYAg8B6h4IqJ0f4wmzsyU= X-Received: by 10.80.183.229 with SMTP id i34mr25128004ede.227.1510070940818; Tue, 07 Nov 2017 08:09:00 -0800 (PST) Received: from [10.161.201.129] ([131.228.32.161]) by smtp.gmail.com with ESMTPSA id h56sm2142268ede.15.2017.11.07.08.08.59 (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 07 Nov 2017 08:08:59 -0800 (PST) From: Alexander Sverdlin Reply-To: Alexander Sverdlin To: Mengting Zhang , alexander.levin@verizon.com, ben@decadent.org.uk Cc: linux-kernel@vger.kernel.org, huawei.libin@huawei.com Subject: Re: [PATCH] lockdep: Add missing declaration of 'pr_cont()' X-Mailer: Modest 3.90.7 References: <1510021460-27615-1-git-send-email-zhangmengting@huawei.com> In-Reply-To: <1510021460-27615-1-git-send-email-zhangmengting@huawei.com> Content-Type: text/plain; charset=utf-8 Content-ID: <1510071006.4450.12.camel@Nokia-N900> Date: Tue, 07 Nov 2017 17:10:07 +0100 Message-Id: <1510071007.4450.13.camel@Nokia-N900> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello! On Tue Nov  7 03:24:20 2017 Mengting Zhang wrote: > An annoying compile warning due to missing declaration is shown below: > In file included from lockdep.c:27:0: > ../../../kernel/locking/lockdep.c: In function > 'print_unlock_imbalance_bug' : ../../../kernel/locking/lockdep.c:3544:2: > warning: implicit declaration of function 'pr_cont' > [-Wimplicit-function-declaration]  pr_cont(") at:\n");  ^ > Adding the declaration of 'pr_cont' fixes the problem. > > Signed-off-by: Mengting Zhang Your commit brought my attention to the fact that commit 681fbec881 brought a regression, rendering 20fb654ae fix ineffective. But this is not related to your change, which I believe is correct: Reviewed-by: Alexander Sverdlin > --- >  tools/include/linux/lockdep.h | 1 + >  1 file changed, 1 insertion(+) > > diff --git a/tools/include/linux/lockdep.h > b/tools/include/linux/lockdep.h index 8da3e8e..ae716ad 100644 > --- a/tools/include/linux/lockdep.h > +++ b/tools/include/linux/lockdep.h > @@ -47,6 +47,7 @@ static inline int debug_locks_off(void) >  #define printk(...) dprintf(STDOUT_FILENO, __VA_ARGS__) >  #define pr_err(format, ...) fprintf (stderr, format, ## __VA_ARGS__) >  #define pr_warn pr_err > +#define pr_cont pr_err >  >  #define list_del_rcu list_del >  > -- > 1.7.12.4 > From 1583425855974877775@xxx Tue Nov 07 16:36:10 +0000 2017 X-GM-THRID: 1583425855974877775 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread