Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2385747imm; Sun, 9 Sep 2018 23:39:01 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYe/jYIgW/dEmNppl03s57JNCfLaDLzWk48SJhHTZIhFcwDIOsiwa34vpEiag3SYaZOhdPC X-Received: by 2002:a63:ca09:: with SMTP id n9-v6mr20851276pgi.287.1536561541535; Sun, 09 Sep 2018 23:39:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536561541; cv=none; d=google.com; s=arc-20160816; b=dDAe2mVBCV/4GWFp8llw5SbdTimhPMvo33HH0FE4nQfVYgUTHL+gwKU0ELUbzz9Oqk +fKpDVVQPI3msNf2wWg0NSMEhHnCAKac6kgmFl4wNO2YvAKdXqnaXhn2RTfp6IkP9zyv NKTQpEZ/tZP1izCqr3br1pWuJefTSXIgg+AQaxUiF64FOo0vQedySYQi6j3Zwt7hyhCg opU1OkaV8OWAjXN3keTu063uvKHUjlhodL0IHAG45mOHlwJKS2GsS3Mtqajkrfmwjdvf vsQbJWanSrnyBT3LwZsKkMJSVWwweT0+r7aqx+SgxHiA2PvxsYWI7T0PakeSpehln7nA 8qLA== 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:message-id :mime-version:references:in-reply-to:subject:cc:to:from:date; bh=cmoGSkO759nX+CxPXP1iah7lk6T46eLhpTfznhMtYDo=; b=i2wepG/6oLBkKYgS+ri42OIWpOeTPALLDBtB9VX7UivmIQU2KJrw/7CVU1JinThlYa n+QQLizlKT+yuImi1YrPN0Vz+rE5ak85PN/kBSWaq+e4HL6ktT5iAEGQWdnLGRU752gn 3zMlSisalGLhmiT3IjwZSsEKWO2ubdcYqg063EsWLuIwyD0zwV5WW9R8J4C1lrsKYMG6 R9EmMCF5rOx92LD6Dh/Q9gJfvhj0GgxA2u4LnEsZjUO6bq7ecnO4rUaQeRMEunpIiTCt uVQOBBhOXqrkLQrhGXvBsY4leouRyifAoOKuDuJI5Nm+NjxAksrC9bPOMxr1ut982EXX BD6g== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m192-v6si16138755pga.410.2018.09.09.23.38.46; Sun, 09 Sep 2018 23:39:01 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727635AbeIJLaC (ORCPT + 99 others); Mon, 10 Sep 2018 07:30:02 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:36416 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726405AbeIJLaC (ORCPT ); Mon, 10 Sep 2018 07:30:02 -0400 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w8A6XuJ3123933 for ; Mon, 10 Sep 2018 02:37:34 -0400 Received: from e06smtp07.uk.ibm.com (e06smtp07.uk.ibm.com [195.75.94.103]) by mx0a-001b2d01.pphosted.com with ESMTP id 2mdefva8q8-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 10 Sep 2018 02:37:33 -0400 Received: from localhost by e06smtp07.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 10 Sep 2018 07:37:31 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) by e06smtp07.uk.ibm.com (192.168.101.137) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Mon, 10 Sep 2018 07:37:29 +0100 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w8A6bSvr328134 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 10 Sep 2018 06:37:28 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 11BE552052; Mon, 10 Sep 2018 09:37:18 +0100 (BST) Received: from mschwideX1 (unknown [9.145.63.9]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id B111A52050; Mon, 10 Sep 2018 09:37:17 +0100 (BST) Date: Mon, 10 Sep 2018 08:37:25 +0200 From: Martin Schwidefsky To: zhong jiang Cc: , , , , , Subject: Re: [PATCH 0/2] s390: Use ARRAY_SIZE instead of reimplementing its function In-Reply-To: <1536402388-23872-1-git-send-email-zhongjiang@huawei.com> References: <1536402388-23872-1-git-send-email-zhongjiang@huawei.com> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-TM-AS-GCONF: 00 x-cbid: 18091006-0028-0000-0000-000002F6FA8D X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18091006-0029-0000-0000-000023B08E6E Message-Id: <20180910083725.6e5a74d2@mschwideX1> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-09-10_04:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=821 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809100072 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 8 Sep 2018 18:26:26 +0800 zhong jiang wrote: > I find the issue with the help of Coccinelle. > > zhong jiang (2): > s390: vmlogrdr: Use ARRAY_SIZE instead of reimplementing its function > s390: qeth_core_mpc: Use ARRAY_SIZE instead of reimplementing its > function > > drivers/s390/char/vmlogrdr.c | 2 +- > drivers/s390/net/qeth_core_mpc.c | 7 ++----- > 2 files changed, 3 insertions(+), 6 deletions(-) Both patches applied to linux-s390:features. Thanks. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin.