From patchwork Fri Jul 29 13:11:32 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Bottomley X-Patchwork-Id: 1020622 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p6TDCQel013527 for ; Fri, 29 Jul 2011 13:12:26 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756360Ab1G2NM0 (ORCPT ); Fri, 29 Jul 2011 09:12:26 -0400 Received: from bedivere.hansenpartnership.com ([66.63.167.143]:47792 "EHLO bedivere.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756061Ab1G2NMZ (ORCPT ); Fri, 29 Jul 2011 09:12:25 -0400 Received: from localhost (localhost [127.0.0.1]) by bedivere.hansenpartnership.com (Postfix) with ESMTP id 274028EE0CF; Fri, 29 Jul 2011 06:12:25 -0700 (PDT) Received: from bedivere.hansenpartnership.com ([127.0.0.1]) by localhost (bedivere.hansenpartnership.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2+MK2nrT5DhD; Fri, 29 Jul 2011 06:12:25 -0700 (PDT) Received: from [10.24.11.95] (swsoft-msk-nat.sw.ru [195.214.232.10]) by bedivere.hansenpartnership.com (Postfix) with ESMTPSA id 6DE738EE08E; Fri, 29 Jul 2011 06:11:58 -0700 (PDT) Subject: ramoops: fix compile failure on parisc From: James Bottomley To: Linus Torvalds , Marco Stornelli Cc: linux-kernel , Parisc List Date: Fri, 29 Jul 2011 17:11:32 +0400 Message-ID: <1311945092.8190.34.camel@mulgrave> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 (2.32.2-1.fc14) Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 29 Jul 2011 13:12:26 +0000 (UTC) drivers/char/ramoops.c: In function 'ramoops_init': drivers/char/ramoops.c:221: error: implicit declaration of function 'IS_ERR' drivers/char/ramoops.c:222: error: implicit declaration of function 'PTR_ERR' If it actually builds on other platforms, it's probably getting linux/err.h via some other #include. Signed-off-by: James Bottomley --- -- To unsubscribe from this list: send the line "unsubscribe linux-parisc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/char/ramoops.c b/drivers/char/ramoops.c index bd9b94b..fca0c51 100644 --- a/drivers/char/ramoops.c +++ b/drivers/char/ramoops.c @@ -22,6 +22,7 @@ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include +#include #include #include #include