Re: 0 bit shift

2017-03-29 Thread valdis . kletnieks
On Thu, 30 Mar 2017 09:59:44 +1100, "Tobin C. Harding" said: > What is the reason for the zero bit shift in this code please? > > #define SDIO_STATE_PRESENT(1<<0) /* present in sysfs */ > > file: include/linux/mmc/sdio_func.h Most likely, to indicate that it's a bitmask in the

0 bit shift

2017-03-29 Thread Tobin C. Harding
What is the reason for the zero bit shift in this code please? #define SDIO_STATE_PRESENT (1<<0) /* present in sysfs */ file: include/linux/mmc/sdio_func.h thanks, Tobin. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org