From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755494AbbIYIpP (ORCPT ); Fri, 25 Sep 2015 04:45:15 -0400 Received: from mail-wi0-f172.google.com ([209.85.212.172]:38254 "EHLO mail-wi0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755073AbbIYIpL (ORCPT ); Fri, 25 Sep 2015 04:45:11 -0400 Subject: Re: [PATCH v2 4/4] scsi: provide UAPI version of scsi/sg.h and scsi/scsi_ioctl.h To: Bart Van Assche , linux-kernel@vger.kernel.org References: <1442497338-17019-1-git-send-email-pbonzini@redhat.com> <1442497647-17778-1-git-send-email-pbonzini@redhat.com> <55FADCFF.5000104@sandisk.com> Cc: James Bottomley , Christoph Hellwig , linux-scsi@vger.kernel.org From: Paolo Bonzini Message-ID: <56050988.5000504@redhat.com> Date: Fri, 25 Sep 2015 10:44:56 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55FADCFF.5000104@sandisk.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17/09/2015 17:32, Bart Van Assche wrote: > >> + >> +#ifndef __KERNEL__ >> +/* Keep in sync with SG_DEFAULT_TIMEOUT of scsi/sg.h */ >> #define SG_DEFAULT_TIMEOUT (60*HZ) /* HZ == 'jiffies in 1 >> second' */ >> #endif > > Is it useful and/or necessary to export this constant ? To me this looks > like an implementation aspect rather than an aspect of the scsi-sg API. That's fine, I can remove it. Paolo