We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a61d832 commit b204fcaCopy full SHA for b204fca
1 file changed
hdaps.c
@@ -714,9 +714,9 @@ static struct attribute_group hdaps_attribute_group = {
714
/* hdaps_dmi_match_invert - found an inverted match. */
715
static int __init hdaps_dmi_match_invert(const struct dmi_system_id *id)
716
{
717
- int orient = (int) id->driver_data;
+ unsigned int orient = (kernel_ulong_t) id->driver_data;
718
hdaps_invert = orient;
719
- printk(KERN_INFO "hdaps: %s detected, setting orientation %d\n",
+ printk(KERN_INFO "hdaps: %s detected, setting orientation %u\n",
720
id->ident, orient);
721
return 1; /* stop enumeration */
722
}
0 commit comments