From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw1-f71.google.com (mail-yw1-f71.google.com [209.85.161.71]) by kanga.kvack.org (Postfix) with ESMTP id 083118E0002 for ; Thu, 17 Jan 2019 04:45:07 -0500 (EST) Received: by mail-yw1-f71.google.com with SMTP id t205so4850081ywa.10 for ; Thu, 17 Jan 2019 01:45:07 -0800 (PST) Received: from aserp2130.oracle.com (aserp2130.oracle.com. [141.146.126.79]) by mx.google.com with ESMTPS id e192si287549ybc.346.2019.01.17.01.45.05 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Jan 2019 01:45:06 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: [PATCH] mm: hwpoison: use do_send_sig_info() instead of force_sig() (Re: PMEM error-handling forces SIGKILL causes kernel panic) From: William Kucharski In-Reply-To: <6fa27824-d86d-f642-db7c-a13faaac527d@oracle.com> Date: Thu, 17 Jan 2019 02:44:58 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <00575D78-10FE-4A05-9BAB-5A2992AB401D@oracle.com> References: <20190111081401.GA5080@hori1.linux.bs1.fc.nec.co.jp> <20190116093046.GA29835@hori1.linux.bs1.fc.nec.co.jp> <97e179e1-8a3a-5acb-78c1-a4b06b33db4c@oracle.com> <20190116233207.GA5868@hori1.linux.bs1.fc.nec.co.jp> <6fa27824-d86d-f642-db7c-a13faaac527d@oracle.com> Sender: owner-linux-mm@kvack.org List-ID: To: Jane Chu Cc: Naoya Horiguchi , Dan Williams , Andrew Morton , "linux-mm@kvack.org" , linux-nvdimm , Linux Kernel Mailing List > On Jan 16, 2019, at 6:07 PM, Jane Chu wrote: >=20 > It's just coding style I'm used to, no big deal. > Up to you to decide. :) Personally I like a (void) cast as it's pretty long-standing syntactic = sugar to cast a call that returns a value we don't care about to (void) = to show we know it returns a value and we don't care. Without it, it may suggest we either didn't know it returned a value or = that we neglected to check the return value. However, in current use elsewhere (e.g. in send_sig_all() and = __oom_kill_process()), no such (void) cast is added, so it seems better = to match current usage elsewhere in the kernel. Reviewed-by: William Kucharski