Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp7299721imm; Sun, 20 May 2018 23:49:44 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoc0KsoVkiEua7CVGbfmpYY/LxlFYmF1FsIrALd0qXK0p+aDqyzUsWASD6WwWwY1Gwsqckg X-Received: by 2002:a63:42c4:: with SMTP id p187-v6mr15029688pga.345.1526885384621; Sun, 20 May 2018 23:49:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526885384; cv=none; d=google.com; s=arc-20160816; b=PaXQxGKtpuED4VLOGs4ignPw0NhabcG8ky116Fx+9F+6RgdfD5Ceb5Q1eHF9gndrPf UQrEmzBBNzQrEhMYv8hYkYz5OR5mu7ALn01qGHqS8kPBi6DXnhgNXhxEbRMTe2WXFiBh GXKhGFR1vmI2AKgVu4uZ8ldZFir6vnBvUOgg+xNFpzj/cmCVWkjG9NTwEJmdDKNGY2sP sk+UM20QAOZl8LKehzkev5JRknsGxKjYidgeOPmQSnsophmRMyCpt7wA9zO4WiQF5yeO n0vI1XubnTAhvaU+03Hp8x5BnzcK7Ir1ppOX7ft025Cixml9CvsymdOZ7EokBhoPklHP RiaQ== 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:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature:arc-authentication-results; bh=5j2VzB0G6Qf2N4uBbRRMTK16HsMUoePa8shxDStcLOQ=; b=pgH5db+WONSQzCbU9cPPNfKd23yQcse0flSPliKuRFMOJzV9GwCEORTsLWW+aEks/5 zqxFfZy0GHSMsRdvjIwhgVpTFgnkiigq5DXOh6Xd5L+jadMIB7TWbd5EYOALefxBV15O 1rr776fc6l1jUVb6Dh0xrFUUhXpF9b4eVZyjEvAQpUsg6R3nee5L/qAfIBtjwSaI0rHG z8eHrUh+OfkycVMe5OkmP0pPUF8cEdgPMUSBLtOY/n4YwZVP9j2tcCBPck7ll1DLFm7i zq7KYm0+/QBzjvYHuXsdkXMfCFE++zpMt0I7ELjN/wO4liKpnDKEIwjlWJqwxEftDglL tUHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@umn.edu header.s=20160920 header.b=uprxHkbK; 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=umn.edu Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c11-v6si12785963pll.102.2018.05.20.23.49.30; Sun, 20 May 2018 23:49:44 -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=@umn.edu header.s=20160920 header.b=uprxHkbK; 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=umn.edu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751058AbeEUGtS (ORCPT + 99 others); Mon, 21 May 2018 02:49:18 -0400 Received: from mta-p3.oit.umn.edu ([134.84.196.203]:54198 "EHLO mta-p3.oit.umn.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750859AbeEUGtN (ORCPT ); Mon, 21 May 2018 02:49:13 -0400 Received: from localhost (localhost [127.0.0.1]) by mta-p3.oit.umn.edu (Postfix) with ESMTP id 614A2703; Mon, 21 May 2018 06:49:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=umn.edu; h= content-transfer-encoding:content-type:content-type:subject :subject:message-id:date:date:from:from:references:in-reply-to :received:mime-version:received:received:received; s=20160920; t=1526885352; x=1528699753; bh=wHe1EuSdtgP+5Bhn6zQ8ZWWFf4SYAj2r JR9vey00e9A=; b=uprxHkbKcs4reFpqaMJ1lZlgCiMaXcLEh+wKuqfA9rYb9ITQ tNCYCzQfY9+RTgooE5zbVJVottwoUVj+nH3adYWVwx/F5fiei1Jgqb5GLwR+Vwlx SID1/fdIEYB5gBstUu0DBWU0RAzzuuLBUpewN+YYjVOZUkiKLvdI8gWbOye4W2YS yDy6ye8g7PCl8hLd0y/McjedCvWO0cSBgHijdJp7arBsCF5DhK0VMMXFOQ4Ve4Bl Ahls3Sclz04pdbbskLfzkXlv5iz0Nj/cZ8mj0O2HE0S7mtsvaY90KI5d1w+UN3yv wniSTMvFNan6YnQzEfaiQ6aaGt/WvgMXs0abSg== X-Virus-Scanned: amavisd-new at umn.edu Received: from mta-p3.oit.umn.edu ([127.0.0.1]) by localhost (mta-p3.oit.umn.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h6-QYcN_1dKH; Mon, 21 May 2018 01:49:12 -0500 (CDT) Received: from mail-io0-f175.google.com (mail-io0-f175.google.com [209.85.223.175]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: wang6495) by mta-p3.oit.umn.edu (Postfix) with ESMTPSA id 316806EB; Mon, 21 May 2018 01:49:12 -0500 (CDT) Received: by mail-io0-f175.google.com with SMTP id e78-v6so13133937iod.0; Sun, 20 May 2018 23:49:12 -0700 (PDT) X-Gm-Message-State: ALKqPwdQAFE/Mm9GU95BWTKW9ozvRlZOKBdW6+YjaGri4qXJMcIoQFL3 oZ8+sffdBdbE2W5SAQ7aX0g9WlwHkW39WktUp1c= X-Received: by 2002:a6b:dd04:: with SMTP id f4-v6mr21376439ioc.62.1526885351948; Sun, 20 May 2018 23:49:11 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4f:9850:0:0:0:0:0 with HTTP; Sun, 20 May 2018 23:48:31 -0700 (PDT) In-Reply-To: <20180520.183730.1550159916165131561.davem@davemloft.net> References: <1526679228-1596-1-git-send-email-wang6495@umn.edu> <20180520.183730.1550159916165131561.davem@davemloft.net> From: Wenwen Wang Date: Mon, 21 May 2018 01:48:31 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] isdn: eicon: fix a missing-check bug To: David Miller Cc: Kangjie Lu , Armin Schindler , Karsten Keil , "open list:NETWORKING [GENERAL]" , open list , Wenwen Wang Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, May 20, 2018 at 5:37 PM, David Miller wrote: > From: Wenwen Wang > Date: Fri, 18 May 2018 16:33:47 -0500 > >> In divasmain.c, the function divas_write() firstly invokes the function >> diva_xdi_open_adapter() to open the adapter that matches with the adapte= r >> number provided by the user, and then invokes the function diva_xdi_writ= e() >> to perform the write operation using the matched adapter. The two functi= ons >> diva_xdi_open_adapter() and diva_xdi_write() are located in diva.c. > > This doesn't even compile: > > In file included from drivers/isdn/hardware/eicon/divasmain.c:30: > drivers/isdn/hardware/eicon/diva.h:23:18: error: unknown type name =E2=80= =98diva_xdi_um_cfg_cmd_t=E2=80=99 > int length, diva_xdi_um_cfg_cmd_t *msg, > ^~~~~~~~~~~~~~~~~~~~~ > drivers/isdn/hardware/eicon/diva.h:27:20: error: unknown type name =E2=80= =98diva_xdi_um_cfg_cmd_t=E2=80=99 > int length, diva_xdi_um_cfg_cmd_t *msg, > ^~~~~~~~~~~~~~~~~~~~~ Sorry. I will correct the compilation errors and resubmit the patch. Wenwen