Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp3108618pxy; Sun, 25 Apr 2021 14:16:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+KQLMPYdFE9tqz95yPii3nRqc6mxexYZE05oL9zU6G3LZ6pW5VG74cFQJptZwhbMk81h/ X-Received: by 2002:a63:2d81:: with SMTP id t123mr7191360pgt.224.1619385363859; Sun, 25 Apr 2021 14:16:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619385363; cv=none; d=google.com; s=arc-20160816; b=eeOopWGFFusCXXSZlG3cjja5b05atN7oKq1B0zqOZlBE1nykSIyXdwnm6KLVwatCJi 4CrwFjpmFhWjAwoMnFf6u5jx7V60dnvkYOzTDFip3ROQ/oPxJn94C5wZbEJPIrgX5hNu kzQVs9CzxDnBRJswcIMEMo85y/9Bv/az8DRgLkZG2BKDR00tFPPQwOt7IafCpWxl4T7L V9ANMF9LdDxJ7er2EFGW5VQ27wehnzUin3SGVIZiYkGHktVKey/+mpXCoqfTfS5ND4jY J4JFbfu+Ucn1WiFetFV6R8HOtenX/pweJ/lRmVN5F+8cxBnHLsn3OdYYY3/thReP3Zlw SD8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:ironport-sdr:ironport-sdr; bh=l/43lxR+OYhcZaKhKOXgIsd1vl1EKcuXZQXApEXdJN8=; b=t/y5hTvkmkOA2S8Msqd8pT6YVrZGrKmD8jhqRS+TRsyfK1NUlVi5YaCvTd7kitpffu whA1z0fMfVqFqajxdAoe45ejNoRzoutifX7Eu2U9T68xFPqQCi7vZbDoidV4Sj+TfSH0 Aa2Wv9pkm5+QZbVRaNun2hmelWDWrLCLZfBP08jxcMGO3O6EBIxRtKFHjGVa1XHWDeak d7yCGc0pjW+jERV2dOGZ7ibCNJhgL7tb4NvYdJPX9VGEzJYJxLL7OdXPKKq1vQJAFWFU J7G7cJSvCGYElRSOn5nTOHEzLoRzgR2w4MjUiE6uZtE1TvPOqpTcniRyFR0SRz96vpaM sCiA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z31si14087828pgl.458.2021.04.25.14.15.52; Sun, 25 Apr 2021 14:16:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231300AbhDYVOl (ORCPT + 99 others); Sun, 25 Apr 2021 17:14:41 -0400 Received: from mga07.intel.com ([134.134.136.100]:40015 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231241AbhDYVOk (ORCPT ); Sun, 25 Apr 2021 17:14:40 -0400 IronPort-SDR: gHc4FmaGNdYQrd7Iox5PZImLHQkHfyKZG00O0PczzxenH33oacdGoMOwbrQHjGzjFJrMgmA/PY ZmmojwpL0vXA== X-IronPort-AV: E=McAfee;i="6200,9189,9965"; a="260209223" X-IronPort-AV: E=Sophos;i="5.82,251,1613462400"; d="scan'208";a="260209223" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Apr 2021 14:14:00 -0700 IronPort-SDR: ueF7ujSkZblDYJuIDbqiNBKEjj17IgPKlhbDTESwrZu0+NzHiVBpqv1NPjCFHwiFLVAgU6nt+f 54eBUDmjIBdg== X-IronPort-AV: E=Sophos;i="5.82,251,1613462400"; d="scan'208";a="422374513" Received: from tassilo.jf.intel.com ([10.54.74.11]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Apr 2021 14:14:00 -0700 From: Andi Kleen To: linux-kernel@vger.kernel.org Cc: Andi Kleen , Mauro Carvalho Chehab Subject: [PATCH] dvb-usb: Make prototypes match Date: Sun, 25 Apr 2021 14:13:43 -0700 Message-Id: <20210425211343.3157860-1-ak@linux.intel.com> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Andi Kleen gcc 11 complains when arrays in prototypes do not match the function. Fix this here. Cc: Mauro Carvalho Chehab Signed-off-by: Andi Kleen --- drivers/media/usb/dvb-usb/dvb-usb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/dvb-usb/dvb-usb.h b/drivers/media/usb/dvb-usb/dvb-usb.h index 741be0e69447..2b8ad2bde8a4 100644 --- a/drivers/media/usb/dvb-usb/dvb-usb.h +++ b/drivers/media/usb/dvb-usb/dvb-usb.h @@ -487,7 +487,7 @@ extern int __must_check dvb_usb_generic_write(struct dvb_usb_device *, u8 *, u16); /* commonly used remote control parsing */ -extern int dvb_usb_nec_rc_key_to_event(struct dvb_usb_device *, u8[], u32 *, int *); +extern int dvb_usb_nec_rc_key_to_event(struct dvb_usb_device *, u8[5], u32 *, int *); /* commonly used firmware download types and function */ struct hexline { -- 2.25.4