From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B6E2FA0A0E; Thu, 4 Feb 2021 09:05:50 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7B71C24059F; Thu, 4 Feb 2021 09:05:50 +0100 (CET) Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by mails.dpdk.org (Postfix) with ESMTP id B283F24059E for ; Thu, 4 Feb 2021 09:05:48 +0100 (CET) Received: by mail-wr1-f45.google.com with SMTP id q7so2288152wre.13 for ; Thu, 04 Feb 2021 00:05:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emumba-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=sUtRHo8WCobR0Cv85uCvNgz+N3XhLn7zEwbSbwO4Fuk=; b=KtWMOwUd9pL2MWntOWDN8lTNe8WMqxkdicXqEVRnhb3eY+cgz+ugchNMRJQqM62tRg 1pGXcuChOmQfrVYfp15Xu4OfPRLVS5ieoqSac96elBSeiXGuAk6JxN1Lo9rTspTaFVRv DQrPYlTWSgJbsUZj3Y00k1Iq2w8ZRqo1QOQJkL+A7B4keQQn8J6zhSBMnL60r7EEUG+I hny8LDT2MDmbI/9g0hzs9vgW8mQlolXcLE1o4hZ2DdFF06cX6yO2JtrNPlFLGCn8Qh9Y r+H4ZoxeARVDMftys4iD0rgq6Gk/eBaa3TwuB8EICnWDHUlHK+vHiIcqOCcz1m6cdeXs QSBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=sUtRHo8WCobR0Cv85uCvNgz+N3XhLn7zEwbSbwO4Fuk=; b=rWxtAL65tFIpXLLIJjo4EoBe4BPh4GEsJ5/YWAh1Fr105SLU0qthyDbITR27Y5xvm7 3wF9imq6z56LzA//fsnMxfA7LznczjmFIA2MN0LOhJ+csEjkzgf0TFgXAHRh3zvABVKS iUJnABaYvUnl5Jp/dEHfefzXu5ULzrj2vgyY46ST7VZEODASnCTGi8/LcynFYezzYT8k eqaynit713Zz1Z6BUnkeeoud58+FQNx7N0fij7fQu8uIeSREguMnDnQX49jIrYaYIE3T aoa02wEIe+lM/vYIieZl4ECu6ITqTrA65v/G/2DeChLOzlZjTagT4k5xjfUQd16847X3 HKzA== X-Gm-Message-State: AOAM5311BUSUFsw9XkwFbNbrOfK+dkyYXpCABPuHqCR6ysmntIWxFiSh PTsCQfLwIqq38EKsscpI0YVPKA== X-Google-Smtp-Source: ABdhPJzHYocYop1gHRXx44dopvBnOP5/+z8HHcmrrPRf6lp4VMvhN3El9Hx40i7XyTbmXlGjVY2p+g== X-Received: by 2002:a5d:4e0e:: with SMTP id p14mr7892590wrt.58.1612425948525; Thu, 04 Feb 2021 00:05:48 -0800 (PST) Received: from localhost.localdomain ([39.33.143.135]) by smtp.gmail.com with ESMTPSA id f6sm4968500wmq.33.2021.02.04.00.05.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Feb 2021 00:05:47 -0800 (PST) From: Ibtisam Tariq To: maxime.coquelin@redhat.com, chenbo.xia@intel.com Cc: dev@dpdk.org, Ibtisam Tariq , roy.fan.zhang@intel.com Date: Thu, 4 Feb 2021 08:05:42 +0000 Message-Id: <20210204080542.3812-1-ibtisam.tariq@emumba.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH] examples/vhost_crypto: remove unused short option X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Short option "s" was passed to getopt_long function, while there was no condition on this option. Fixes: f5188211c7 ("examples/vhost_crypto: add sample application") Cc: roy.fan.zhang@intel.com Signed-off-by: Ibtisam Tariq --- examples/vhost_crypto/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/vhost_crypto/main.c b/examples/vhost_crypto/main.c index 29c8f7228..66bde38c0 100644 --- a/examples/vhost_crypto/main.c +++ b/examples/vhost_crypto/main.c @@ -219,7 +219,7 @@ vhost_crypto_parse_args(int argc, char **argv) argvopt = argv; - while ((opt = getopt_long(argc, argvopt, "s:", + while ((opt = getopt_long(argc, argvopt, "", lgopts, &option_index)) != EOF) { switch (opt) { -- 2.17.1