Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp216414imu; Fri, 25 Jan 2019 00:49:12 -0800 (PST) X-Google-Smtp-Source: ALg8bN7ZW0L+8v6hVUp771uPilYJcO0n3rNJFoneAfuF8keBtNld/82H/0Jb3RUxTfcAYW4WtIta X-Received: by 2002:a63:a41:: with SMTP id z1mr9092190pgk.117.1548406152004; Fri, 25 Jan 2019 00:49:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548406151; cv=none; d=google.com; s=arc-20160816; b=Wc3UP2tV+CSaxRpnAVT6s+EjFMvFhHKHGXSTFvjFz5aULvQSt2f9aam83wywDVHXBo hiSRs6Rz+6K+uj1VfSaLrWIKMflGVIZexZvYdk4LPCPdnz80t6/NWgvYriwS4ZhVzlwy 8pBmkxQ8zSBCyvME8rFuhPnP/TTy5WIXkFgRbKEbkE4/vQA8y0ud/e7h01Ijl/0UnsZy pkAcsRLMqto3orQnpmRlYrXXYe4qQuymiliSBKzOn0E2H3CdOI2jyuNVwiyj9JPx680Q bc7HizWbuDtN09JBAUo17E8kXQFtVL7EnjKMHY2m+UX1rs+A1wPtiXBXAjBNQ0glJKUO 5Ebw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:message-id:in-reply-to:mime-version :references:subject:cc:to:from:date; bh=ofaeOi+4P8Ye9/a+VAMF5ME22Sj552+N6kACOKISrBo=; b=pEVGzAWqGwXs4chQ5I5UhjM4V+UVzcmK1GUSWB/verVftKXOZ5FjA2NqsbYrrb4QyD cQv9N8DsN7uBG7mhwA2TV2z6tsajt7T0MtQsBDqjjRtNG6QOHowBWrgH2pmVllmfpDvv lnHtITCWCfrQ97L2XMGBVELrNvoYkAxGuaStgKhDLJMWhGnicBp25q8zS1i6q5T2OeBt smQo3l3PuylsRsChUiQRPx2P4rTNM/kr77uVJA/bKzNz/ih1UT9NPlGUsbPPj+Ffigxk AJQlgjXbS8FE97KTGZHjy32NwTnct2twsHrfwkSkwOjcibuNSnMY5CkoOoGYvhK3bgbX xF3g== 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 p5si12846190pls.338.2019.01.25.00.48.55; Fri, 25 Jan 2019 00:49:11 -0800 (PST) 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 S1727034AbfAYIsG (ORCPT + 99 others); Fri, 25 Jan 2019 03:48:06 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:40636 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726520AbfAYIsF (ORCPT ); Fri, 25 Jan 2019 03:48:05 -0500 Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x0P8cvFL078973 for ; Fri, 25 Jan 2019 03:48:04 -0500 Received: from e06smtp05.uk.ibm.com (e06smtp05.uk.ibm.com [195.75.94.101]) by mx0b-001b2d01.pphosted.com with ESMTP id 2q7w9nngba-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 25 Jan 2019 03:48:04 -0500 Received: from localhost by e06smtp05.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 25 Jan 2019 08:48:02 -0000 Received: from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198) by e06smtp05.uk.ibm.com (192.168.101.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Fri, 25 Jan 2019 08:48:00 -0000 Received: from d06av24.portsmouth.uk.ibm.com (d06av24.portsmouth.uk.ibm.com [9.149.105.60]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x0P8lxuh3539282 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 25 Jan 2019 08:47:59 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id CDC1142047; Fri, 25 Jan 2019 08:47:59 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9B56942045; Fri, 25 Jan 2019 08:47:59 +0000 (GMT) Received: from osiris (unknown [9.152.212.95]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Fri, 25 Jan 2019 08:47:59 +0000 (GMT) Date: Fri, 25 Jan 2019 09:47:58 +0100 From: Heiko Carstens To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, Martin Schwidefsky , linux-s390@vger.kernel.org Subject: Re: [PATCH] s390: hypfs: no need to check return value of debugfs_create functions References: <20190122152151.16139-1-gregkh@linuxfoundation.org> MIME-Version: 1.0 In-Reply-To: <20190122152151.16139-1-gregkh@linuxfoundation.org> X-TM-AS-GCONF: 00 x-cbid: 19012508-0020-0000-0000-0000030B436F X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19012508-0021-0000-0000-0000215C86F2 Message-Id: <20190125084758.GB3561@osiris> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit Content-Disposition: inline X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-01-25_05:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=765 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1901250073 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 22, 2019 at 04:21:00PM +0100, Greg Kroah-Hartman wrote: > When calling debugfs functions, there is no need to ever check the > return value. The function can work or not, but the code logic should > never do something different based on this. > > Cc: Martin Schwidefsky > Cc: Heiko Carstens > Cc: linux-s390@vger.kernel.org > Signed-off-by: Greg Kroah-Hartman > --- > arch/s390/hypfs/hypfs.h | 6 +++--- > arch/s390/hypfs/hypfs_dbfs.c | 8 ++------ > arch/s390/hypfs/hypfs_diag.c | 9 ++++----- > arch/s390/hypfs/hypfs_diag0c.c | 3 ++- > arch/s390/hypfs/hypfs_sprp.c | 6 +++--- > arch/s390/hypfs/hypfs_vm.c | 3 ++- > arch/s390/hypfs/inode.c | 11 +++-------- > 7 files changed, 19 insertions(+), 27 deletions(-) Applied, thanks!