Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1526907

Re: [PATCH v2] infiniband: remove WARN that is not kernel bug

From Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] infiniband: remove WARN that is not kernel bug
Date 2016-11-21 18:00 +0100
Message-ID <sG06K-3IM-7@gated-at.bofh.it> (permalink)
References (1 earlier) <sFU1k-8p7-19@gated-at.bofh.it> <sFUb0-8sg-33@gated-at.bofh.it> <sFVgJ-C3-3@gated-at.bofh.it> <sFVgJ-C3-1@gated-at.bofh.it> <sFVJM-15x-33@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Nov 21, 2016 at 02:14:08PM +0200, Leon Romanovsky wrote:
> >
> > In ib_ucm_write function there is a wrong prefix:
> >
> > + pr_err_once("ucm_write: process %d (%s) tried to do something hinky\n",
> 
> I did it intentionally to have the same errors for all flows.

Lets actually use a good message too please?

 pr_err_once("ucm_write: process %d (%s) changed security contexts after opening FD, this is not allowed.\n",

Jason

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2] infiniband: remove WARN that is not kernel bug Dmitry Vyukov <dvyukov@google.com> - 2016-11-21 11:20 +0100
  Re: [PATCH v2] infiniband: remove WARN that is not kernel bug Miroslav Benes <mbenes@suse.cz> - 2016-11-21 11:30 +0100
    Re: [PATCH v2] infiniband: remove WARN that is not kernel bug Dmitry Vyukov <dvyukov@google.com> - 2016-11-21 11:40 +0100
      Re: [PATCH v2] infiniband: remove WARN that is not kernel bug Dmitry Vyukov <dvyukov@google.com> - 2016-11-21 12:50 +0100
        Re: [PATCH v2] infiniband: remove WARN that is not kernel bug Leon Romanovsky <leon@kernel.org> - 2016-11-21 13:20 +0100
          Re: [PATCH v2] infiniband: remove WARN that is not kernel bug Jason Gunthorpe <jgunthorpe@obsidianresearch.com> - 2016-11-21 18:00 +0100
            Re: [PATCH v2] infiniband: remove WARN that is not kernel bug Leon Romanovsky <leon@kernel.org> - 2016-11-21 18:40 +0100
      Re: [PATCH v2] infiniband: remove WARN that is not kernel bug Leon Romanovsky <leon@kernel.org> - 2016-11-21 12:50 +0100

csiph-web