| To: | Jon Mason <jdmason@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 3/3] r8169: clean up |
| From: | Francois Romieu <romieu@xxxxxxxxxxxxx> |
| Date: | Tue, 2 Nov 2004 22:56:07 +0100 |
| Cc: | netdev@xxxxxxxxxxx, jgarzik@xxxxxxxxx |
| In-reply-to: | <200411021347.39047.jdmason@xxxxxxxxxx> |
| References: | <200411021203.25100.jdmason@xxxxxxxxxx> <20041102192746.GB24860@xxxxxxxxxxxxxxxxxxxxxxxxxx> <200411021347.39047.jdmason@xxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.4.1i |
Jon Mason <jdmason@xxxxxxxxxx> : [...] > Silly question, does "!!" not execute a bitwise not twice? If not, then > please forgive my ignorance. <coffee alert> logical not: ! bitwise not: ~ </coffee> > If so, then it is unnecessary. But if you want something prettier, how about: > > cmd->autoneg = (status & TBINwEnable) ? AUTONEG_ENABLE : AUTONEG_DISABLE; Ok, I take it. -- Ueimor. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: NETLINK_ROUTE sockets in kernel, John W. Linville |
|---|---|
| Next by Date: | Re: [NET] Fix neighbour tbl->entries race, Herbert Xu |
| Previous by Thread: | Re: [PATCH 3/3] r8169: clean up, Thomas Graf |
| Next by Thread: | [PATCH 2.6] e100, e1000, ixgb: add MODULE_VERSION tags, Matt Domsch |
| Indexes: | [Date] [Thread] [Top] [All Lists] |