Hi Johan, On 21 May 2014 15:19, Johan Hedberg <johan.hedberg@xxxxxxxxx> wrote: > Hi Lukasz, > > On Wed, May 21, 2014, Lukasz Rymanowski wrote: >> bool bt_crypto_sign_att(struct bt_crypto *crypto, const uint8_t key[16], >> const uint8_t *m, uint16_t m_len, >> + const int32_t sign_cnt, > > We use const declarations to indicate that the function promises not to > modify memory behind pointers. When passing integers you don't anyway > have access to the original variable so the convention used throughout > the tree is to not use const declarations for such variables. > Copy paste issue - will fix in v2 > Johan Thanks Łukasz -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html