Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2104047yba; Fri, 19 Apr 2019 12:11:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqxj5tdCK/Dun7wgxqVYuo+CsSGRiYFdpJfTbCkchvIiU6KTwq+qNbXt4IdCZ0KB5MtcginJ X-Received: by 2002:a65:4247:: with SMTP id d7mr5420247pgq.114.1555701111859; Fri, 19 Apr 2019 12:11:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555701111; cv=none; d=google.com; s=arc-20160816; b=E3DCYDajaJUgP3fNE4A9quYrg6TUjL3A7IyTxxY6Vp1nksKsLJNSCm0pe+dUWByHzz in8ii676LnAG2wISl5kkbvP1F2YEzJpSd6VaY7HKHjdYkRmO77ShJuZKATSdl+teQ8To vX+HWTtJklDHj/6coBpqPuBfCkjs3eBHEeIQ4snY7I3NbCQNYZxVFyHw9odrdBtDm5wI fBJne02ty8l6wDWPjRRYPyhe40WXE3k+MKpxI8VQRZ4rL7TpXU+Jn4YWVTPUJJhjgWUW oZDsBW5s+8eTUFLQ5w4vsUV1g3IsGb6P2EaYOXdfAsU/wgPYG+gunNv10iHFiLFLPp51 RXMA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=hYnPxqdoGjXASM2PACZ2oxU8u5SBCabh+CJ9MTDCrrU=; b=IhFV1hqtdRnw8oE2dewvtRCNhoP8FUg7X/9XOKOY8SarG79SxOafCKEIFPA0Krlhte cTcnxgFEyr+LYBRyuwmFPQ0XLM1rPmCMqsjYxHSIbucja+UJfTmmtl35UopMqPVbh4BI VyvmdRx1oAKaa7Dy0wRDLqZEeTG5gL1mUabg7yaJnyO06icY37iZ0faU3xLwiapQpALt VEbYzYM9RGfgGgpzo9jPiC4GrFYxY0muqxlgL/DLevx57F7TmB5uszEbRWtNW1fWtxPJ fdH9nmnjoNE7SktHCHLdwg5kfEeAUmdF9qtMQIK95Y3hEUiUKwB8p/ONk+hcSUnHb5ZV Lx6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="BhuXA/4c"; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d138si6796788pfd.178.2019.04.19.12.11.37; Fri, 19 Apr 2019 12:11:51 -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=@kernel.org header.s=default header.b="BhuXA/4c"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729978AbfDSTKt (ORCPT + 99 others); Fri, 19 Apr 2019 15:10:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:38336 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726192AbfDSTKo (ORCPT ); Fri, 19 Apr 2019 15:10:44 -0400 Received: from [192.168.1.112] (c-24-9-64-241.hsd1.co.comcast.net [24.9.64.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 031B620645; Fri, 19 Apr 2019 19:10:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555701044; bh=OJUozbvJf6TFUOSbI2y5FkOLnt1vCDq9viiiVS27mYs=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=BhuXA/4chxW5VAupLS0knkM6balmQwRUJWC1W8cFS4SZLMYpavAKT5u+9Et4Xsxzv y2iuTjdHePZKNkQuJ3SIeZFV5vpskzjKe5gyDKJwhWFedXJcwdUp6NNGQVnCE1N5wA e6b2Sh/aLM9AL4YKTXlSJJPceOyNTpCHjPAO3rYE= Subject: Re: [PATCH] selftests/ipc: Fix msgque compiler warnings To: Davidlohr Bueso , Kees Cook Cc: Stanislav Kinsbursky , Manfred Spraul , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, shuah References: <20190408171344.GA22803@beast> <20190408200141.uusxqlqly6tab6h7@linux-r8p5> From: shuah Message-ID: Date: Fri, 19 Apr 2019 13:10:43 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190408200141.uusxqlqly6tab6h7@linux-r8p5> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/8/19 2:01 PM, Davidlohr Bueso wrote: > On Mon, 08 Apr 2019, Kees Cook wrote: > >> This fixes the various compiler warnings when building the msgque >> selftest. The primary change is using sys/msg.h instead of linux/msg.h >> directly to gain the API declarations. >> >> Fixes: 3a665531a3b7 ("selftests: IPC message queue copy feature test") >> Signed-off-by: Kees Cook > > (Not really related to this patch) > > Given that the selftest/ipc/ only consists of this test, I wonder if > the test should just be moved to ltp, where the ipc tests are a lot > more complete and robust -- and which I've been using for years for > basic testing code changes. > Having this test in here helps us find regressions quickly. It does good and no harm keeping this test in here. I don't think it is a good idea to remove it all together. thanks, -- Shuah