From patchwork Thu Sep 25 08:20:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Graf X-Patchwork-Id: 4973671 Return-Path: X-Original-To: patchwork-linux-sparse@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2CC5C9F2BB for ; Thu, 25 Sep 2014 08:20:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 09E5B20279 for ; Thu, 25 Sep 2014 08:20:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B24342027D for ; Thu, 25 Sep 2014 08:20:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751815AbaIYIUo (ORCPT ); Thu, 25 Sep 2014 04:20:44 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:47028 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752072AbaIYIUn (ORCPT ); Thu, 25 Sep 2014 04:20:43 -0400 Received: from 77-56-195-25.dclient.hispeed.ch ([77.56.195.25] helo=lsx.localdomain) by bombadil.infradead.org with esmtpsa (Exim 4.80.1 #2 (Red Hat Linux)) id 1XX4I6-0006Iu-46; Thu, 25 Sep 2014 08:20:42 +0000 From: Thomas Graf To: linux-sparse@vger.kernel.org Cc: hans.verkuil@cisco.com, sparse@chrisli.org Subject: [PATCH] sparse: Fix ioc type check Date: Thu, 25 Sep 2014 10:20:39 +0200 Message-Id: <8d1bffcadf496f52dc70063986684762344da771.1411633200.git.tgraf@suug.ch> X-Mailer: git-send-email 1.9.3 X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-sparse-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sparse@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add missing exepcted error output for the test to pass. Fixes: 42ebe41 "Add test case for the ioc type check" Signed-off-by: Thomas Graf --- validation/ioc-typecheck.c | 1 + 1 file changed, 1 insertion(+) diff --git a/validation/ioc-typecheck.c b/validation/ioc-typecheck.c index aa060f7..baa200a 100644 --- a/validation/ioc-typecheck.c +++ b/validation/ioc-typecheck.c @@ -13,5 +13,6 @@ static unsigned iocnrs[] = { * check-name: correct handling of _IOC_TYPECHECK * * check-error-start +ioc-typecheck.c:10:21: error: bad integer constant expression * check-error-end */