From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F5E7C67871 for ; Thu, 27 Oct 2022 09:24:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234768AbiJ0JYH (ORCPT ); Thu, 27 Oct 2022 05:24:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235114AbiJ0JYD (ORCPT ); Thu, 27 Oct 2022 05:24:03 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EDC649B5C for ; Thu, 27 Oct 2022 02:24:03 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id D262F1FDD4; Thu, 27 Oct 2022 09:24:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1666862641; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iHs+VHAXEuQ8qb/JfHmU3rL4mxWFqZ5Y9oRNvcDC6uU=; b=1WKZb16bWNWg8HVA108EPAWx9ROTXzMZCEDadj4O2Fd/dmyXwVKEJ3rsmuv3mNWdph3fzh hJJiZ320xCyruqr5oViLRkudWBZnSsKxKCce6y4fFTdQe2Lo3x1owMpoWzxSGN7eE8tpvP SHLSCJdQXEEsRbKNHr0W02m5jqWi9T8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1666862641; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iHs+VHAXEuQ8qb/JfHmU3rL4mxWFqZ5Y9oRNvcDC6uU=; b=PK6fw8gN/ZiuxZNeRNn+UtdLWWaugsb2YcZSedJLPLu/cOBZKVE+NhPRKwaOIYgTy10OYp ZeMexeyYHAhBgaBA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id A50BE13357; Thu, 27 Oct 2022 09:24:01 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id kq9RJjFOWmOoXQAAMHmgww (envelope-from ); Thu, 27 Oct 2022 09:24:01 +0000 Message-ID: Date: Thu, 27 Oct 2022 11:24:00 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH v3 1/6] ata: libata: Introduce ata_ncq_supported() Content-Language: en-US To: Damien Le Moal , linux-ide@vger.kernel.org, "Maciej S . Szmigiero" References: <20221027075026.240017-1-damien.lemoal@opensource.wdc.com> <20221027075026.240017-2-damien.lemoal@opensource.wdc.com> From: Hannes Reinecke In-Reply-To: <20221027075026.240017-2-damien.lemoal@opensource.wdc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-ide@vger.kernel.org On 10/27/22 09:50, Damien Le Moal wrote: > Introduce the inline helper function ata_ncq_supported() to test if a > device supports NCQ commands. The function ata_ncq_enabled() is also > rewritten using this new helper function. > > Signed-off-by: Damien Le Moal > --- > include/linux/libata.h | 26 ++++++++++++++++++++------ > 1 file changed, 20 insertions(+), 6 deletions(-) > Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@suse.de +49 911 74053 688 SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), Geschäftsführer: Ivo Totev, Andrew Myers, Andrew McDonald, Martje Boudien Moerman