On Wed, May 29, 2013 at 01:34:06PM +0200, Kevin Wolf wrote: > + /* Check registers */ > + data = inb(IDE_BASE + reg_device); > + g_assert_cmpint(data & 0x10, ==, 0);
assert_bit_clear() with a constant instead of the 0x10 magic number?
On Wed, May 29, 2013 at 01:34:06PM +0200, Kevin Wolf wrote: > + /* Check registers */ > + data = inb(IDE_BASE + reg_device); > + g_assert_cmpint(data & 0x10, ==, 0);
assert_bit_clear() with a constant instead of the 0x10 magic number?