Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1475475
| From | Bjorn Helgaas <helgaas@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 07/15] Simplify the confusing HIWORD_UPDATE scheme. |
| Date | 2016-09-03 00:10 +0200 |
| Message-ID | <sd4OS-5bs-7@gated-at.bofh.it> (permalink) |
| References | <scZ2O-1kr-11@gated-at.bofh.it> <scZ2Q-1kr-85@gated-at.bofh.it> <sd4lP-4MR-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Sep 02, 2016 at 02:38:06PM -0700, Guenter Roeck wrote: > On Fri, Sep 02, 2016 at 10:54:53AM -0500, Bjorn Helgaas wrote: > > +#define HIWORD_UPDATE(mask, val) ((mask << 16) | val) > > + > > +#define ENCODE_LANES(x) (((x >> 1) & 3) << 4) > > (x) ? Done, thanks! (And for "mask" and "val")
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v2 07/15] Simplify the confusing HIWORD_UPDATE scheme. Bjorn Helgaas <bhelgaas@google.com> - 2016-09-02 18:00 +0200
Re: [PATCH v2 07/15] Simplify the confusing HIWORD_UPDATE scheme. Guenter Roeck <linux@roeck-us.net> - 2016-09-02 23:40 +0200
Re: [PATCH v2 07/15] Simplify the confusing HIWORD_UPDATE scheme. Bjorn Helgaas <helgaas@kernel.org> - 2016-09-03 00:10 +0200
csiph-web