All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
To: Raz Amir <razamir22-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: dev-VfR2kkLFssw@public.gmane.org
Subject: Re: [PATCH v3] Restore support for virtio on FreeBSD
Date: Mon, 13 Apr 2015 14:54:42 +0200	[thread overview]
Message-ID: <2279951.2s8DnS74SK@xps13> (raw)
In-Reply-To: <1428927569-98070-1-git-send-email-razamir22-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

Please provide more information in the commit message.
We need to know what was the problem (crash) in the git history.
Then when doing git blame, we'll have the full explanation.

2015-04-13 15:19, Raz Amir:
> Fixes: 8a312224bcde ("eal/bsd: fix fd leak")
> 
> Signed-off-by: Raz Amir <razamir22-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> ---
>  lib/librte_eal/bsdapp/eal/eal.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/librte_eal/bsdapp/eal/eal.c b/lib/librte_eal/bsdapp/eal/eal.c
> index 871d5f4..e20f915 100644
> --- a/lib/librte_eal/bsdapp/eal/eal.c
> +++ b/lib/librte_eal/bsdapp/eal/eal.c
> @@ -426,7 +426,7 @@ rte_eal_iopl_init(void)
>  	fd = open("/dev/io", O_RDWR);
>  	if (fd < 0)
>  		return -1;
> -	close(fd);
> +	/* keep fd open for iopl */

Yes we need a comment but "for iopl" is not descriptive and
not very accurate as iopl is a Linux mechanism.

>  	return 0;
>  }

Thanks

  parent reply	other threads:[~2015-04-13 12:54 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-07 23:45 [PATCH] Restore support for virtio on FreeBSD Raz Amir
     [not found] ` <1428450303-97954-1-git-send-email-razamir22-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-04-07 23:48   ` [PATCH v2] " Raz Amir
2015-04-13 12:19   ` [PATCH v3] " Raz Amir
     [not found]     ` <1428927569-98070-1-git-send-email-razamir22-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-04-13 12:54       ` Thomas Monjalon [this message]
2015-04-14  2:32         ` Ouyang, Changchun
     [not found]           ` <F52918179C57134FAEC9EA62FA2F962511ABC531-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-04-14 16:07             ` Raz Amir
2015-04-14 16:23   ` [PATCH v5] " Raz Amir
     [not found]     ` <1429028594-12323-1-git-send-email-razamir22-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-04-14 22:22       ` Ananyev, Konstantin
     [not found]         ` <2601191342CEEE43887BDE71AB97725821415A1D-pww93C2UFcwu0RiL9chJVbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-04-16  3:31           ` Ouyang, Changchun
     [not found]             ` <F52918179C57134FAEC9EA62FA2F962511AC1E6D-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-04-16  7:50               ` Raz Amir
2015-04-16  8:02   ` [PATCH v6] " Raz Amir
     [not found]     ` <1429171323-33292-1-git-send-email-razamir22-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-04-16  9:39       ` Bruce Richardson
2015-04-16 11:44         ` Raz Amir
2015-04-16 11:52   ` [PATCH v7] " Raz Amir
     [not found]     ` <1429185127-33452-1-git-send-email-razamir22-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-04-28 14:18       ` Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2279951.2s8DnS74SK@xps13 \
    --to=thomas.monjalon-pdr9zngts4eavxtiumwx3w@public.gmane.org \
    --cc=dev-VfR2kkLFssw@public.gmane.org \
    --cc=razamir22-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.