hdparm-6.1 contains a left shift of 8 on the assignment
of request.data (security_mode). This is wrong as
you are already working on an unsigned char instead of
a 16 bit word.
Attached patch fixes this.
Leonard den Ottolander
Remove shift on assignment of request->data (security_mode)