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 picard.linux.it (picard.linux.it [213.254.12.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CF689C433EF for ; Tue, 19 Jul 2022 07:39:29 +0000 (UTC) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id D88F53C9787 for ; Tue, 19 Jul 2022 09:39:26 +0200 (CEST) Received: from in-6.smtp.seeweb.it (in-6.smtp.seeweb.it [217.194.8.6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id 84E8F3C9094 for ; Tue, 19 Jul 2022 09:39:16 +0200 (CEST) Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by in-6.smtp.seeweb.it (Postfix) with ESMTPS id E47FA141CE6B for ; Tue, 19 Jul 2022 09:39:15 +0200 (CEST) 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 02E691F9F2 for ; Tue, 19 Jul 2022 07:39:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1658216355; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=RqrqgBAzOXqkGLEk/4SbRcpDHjKzDsZ7eLYPljhzGt4=; b=K3/UtEr2o3essrzMbXKvk/R0ayUTTuZyVmNyZer9ch45f17RJXVkKR649SimMivEfqEtTy afJhqfp1UF4j0/ysK2dc0nfO/iUpZDWVY4ETBVfm8+/sc7LWxFpq0AfDJe3IKNhJZ/YvHG 6p686vsrCOLOIuU2A8H+gDU43K+coi4= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1658216355; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=RqrqgBAzOXqkGLEk/4SbRcpDHjKzDsZ7eLYPljhzGt4=; b=29l7PEAyoli3vrSkwJr//k+2yuDguBNHSl4PrucKKBg3HXwZLcjZ4Gt9H/xKcJwSFuytuC vu/VNVn8DeBiy4Cg== 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 5013013488 for ; Tue, 19 Jul 2022 07:39:14 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 8DU+AaJf1mJgNAAAMHmgww (envelope-from ) for ; Tue, 19 Jul 2022 07:39:14 +0000 From: Avinesh Kumar To: ltp@lists.linux.it Date: Tue, 19 Jul 2022 13:09:11 +0530 Message-Id: <20220719073911.21651-1-akumar@suse.de> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.102.4 at in-6.smtp.seeweb.it X-Virus-Status: Clean Subject: [LTP] [PATCH] readahead01.c: turn comment into docparse and reword X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-bounces+ltp=archiver.kernel.org@lists.linux.it Sender: "ltp" Signed-off-by: Avinesh Kumar --- testcases/kernel/syscalls/readahead/readahead01.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/testcases/kernel/syscalls/readahead/readahead01.c b/testcases/kernel/syscalls/readahead/readahead01.c index 4355457e9..ac762aa3e 100644 --- a/testcases/kernel/syscalls/readahead/readahead01.c +++ b/testcases/kernel/syscalls/readahead/readahead01.c @@ -3,8 +3,13 @@ * Copyright (C) 2012 Linux Test Project, Inc. */ -/* - * errno tests for readahead() syscall +/*\ + * [Description] + * + * Verify that readahead() syscall fails with + * - EBADF when fd is not a valid file descriptor or is not open for reading. + * - EINVAL when fd does not refer to a file type to which readahead() + * can be applied. */ #define _GNU_SOURCE #include -- 2.36.1 -- Mailing list info: https://lists.linux.it/listinfo/ltp